fix:上个补丁
This commit is contained in:
1 parent
9ddefa377a
commit
43e6df6f72
1 file changed
+2
-2
+2
-2
@@ -121,8 +121,8 @@ public class MchManageController {
|
||||
|
||||
@Inner
|
||||
@GetMapping("/get-first-mch-by-dept-id")
|
||||
public R<MchManageVo> getFirstMchByDeptId(@RequestParam Long deptId, @RequestParam MerchantTypeEnum mchType) {
|
||||
MchManageVo mchManage = mchManageService.getFirstMchByDeptId(deptId, List.of(mchType));
|
||||
public R<MchManageVo> getFirstMchByDeptId(@RequestParam Long deptId, @RequestParam List<MerchantTypeEnum> mchType) {
|
||||
MchManageVo mchManage = mchManageService.getFirstMchByDeptId(deptId, mchType);
|
||||
if (ObjectUtil.isEmpty(mchManage)) return R.failed("商户不存在");
|
||||
return R.ok(mchManage);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user