把收银呗字全部转化,并且收银点更改

This commit is contained in:
liuyingfang
2024-02-21 11:46:12 +08:00
parent 028a427405
commit e2aa4e954f
42 changed files with 192 additions and 173 deletions

View File

@@ -159,8 +159,12 @@ public class MerchantCashPlaceController {
*/
@GetMapping("/cutChannel")
public Result<Object> cutChannel(@RequestParam String merchantCode,
@RequestParam String code){
cashPlaceStaffService.cutChannel(merchantCode, code);
return ResultGenerator.genSuccessResult();
@RequestParam String code,
@RequestParam Integer channel){
Boolean aBoolean = cashPlaceStaffService.cutChannel(merchantCode, code, channel);
if (aBoolean){
return ResultGenerator.genSuccessResult();
}
return ResultGenerator.genFailResult("无法切换该通道");
}
}