默认101
This commit is contained in:
parent
ea2d9d683b
commit
4a094c256e
|
|
@ -159,6 +159,9 @@ public class WorkerBankController extends BaseController {
|
|||
@ResponseBody
|
||||
public AjaxResult getByWorkerId(@RequestBody WorkerBindBankCardRequest request) {
|
||||
try {
|
||||
if(request.getDeptId() == null){
|
||||
request.setDeptId(101L);
|
||||
}
|
||||
return AjaxResult.success(workerBankService.getByWorkerId(request.getWorkerId(), request.getDeptId()));
|
||||
} catch (Exception e) {
|
||||
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ public class WorkerCertificationController extends BaseController
|
|||
|
||||
@PostMapping("/changeStatus")
|
||||
@ResponseBody
|
||||
public AjaxResult changeStatus(String ids,Integer status, Long deptId){
|
||||
public AjaxResult changeStatus(String ids,Integer status){
|
||||
try {
|
||||
int result = workerCertificationService.changeStatus(ids, status);
|
||||
if(result > 0){
|
||||
|
|
@ -221,7 +221,7 @@ public class WorkerCertificationController extends BaseController
|
|||
for (String id : idArray){
|
||||
WorkerCertification workerCertification = workerCertificationService.selectWorkerCertificationByWorkerCertificationId(id);
|
||||
// 是否绑定了银行卡
|
||||
WorkerBank workerBank = workerBankService.getByWorkerId(workerCertification.getWorkerId(), deptId);
|
||||
WorkerBank workerBank = workerBankService.getByWorkerId(workerCertification.getWorkerId(), 101L);
|
||||
// 没有绑定了银行卡的用户
|
||||
if(ObjectUtils.isEmpty(workerBank)){
|
||||
return AjaxResult.success("操作成功!");
|
||||
|
|
|
|||
Loading…
Reference in New Issue