diff --git a/ghy-admin/src/main/java/com/ghy/web/controller/worker/WorkerBankController.java b/ghy-admin/src/main/java/com/ghy/web/controller/worker/WorkerBankController.java index 2c7fcbc4..1c0b7bc6 100644 --- a/ghy-admin/src/main/java/com/ghy/web/controller/worker/WorkerBankController.java +++ b/ghy-admin/src/main/java/com/ghy/web/controller/worker/WorkerBankController.java @@ -53,7 +53,7 @@ public class WorkerBankController extends BaseController { public AjaxResult bindBankCard(@RequestBody @Valid WorkerBindBankCardRequest request) throws BaseAdaPayException { // 判断师傅是否已经审核通过,未通过审核不能绑定银行卡 WorkerCertification workerCertification = workerCertificationService.selectByWorkerId(request.getWorkerId()); - if (workerCertification != null && workerCertification.getStatus() == 1) { + if (workerCertification != null && workerCertification.getStatus() == 2) { return AjaxResult.error("师傅未通过审核,不能绑定银行卡"); } Set merchants = AdapayConfig.getMerchants(); diff --git a/ghy-admin/src/main/resources/templates/goods/deptcategory/deptcategory.html b/ghy-admin/src/main/resources/templates/goods/deptcategory/deptcategory.html index d6b0e155..5a5fe247 100644 --- a/ghy-admin/src/main/resources/templates/goods/deptcategory/deptcategory.html +++ b/ghy-admin/src/main/resources/templates/goods/deptcategory/deptcategory.html @@ -34,7 +34,7 @@
- 修改 + 添加/修改 展开/折叠 diff --git a/ghy-admin/src/main/resources/templates/goods/deptcategory/deptservecategory.html b/ghy-admin/src/main/resources/templates/goods/deptcategory/deptservecategory.html index 7f345e76..b345935f 100644 --- a/ghy-admin/src/main/resources/templates/goods/deptcategory/deptservecategory.html +++ b/ghy-admin/src/main/resources/templates/goods/deptcategory/deptservecategory.html @@ -33,7 +33,7 @@