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