交班打印两次修复
This commit is contained in:
@@ -100,9 +100,6 @@ public class HandoverRecordController {
|
|||||||
//@SaAdminCheckPermission("handoverRecord:handover")
|
//@SaAdminCheckPermission("handoverRecord:handover")
|
||||||
public CzgResult<Long> handover(@RequestParam Integer isPrint) {
|
public CzgResult<Long> handover(@RequestParam Integer isPrint) {
|
||||||
Long id = handoverRecordService.handover();
|
Long id = handoverRecordService.handover();
|
||||||
if (isPrint == 1){
|
|
||||||
rabbitPublisher.sendHandoverPrintMsg(id.toString());
|
|
||||||
}
|
|
||||||
return CzgResult.success(id);
|
return CzgResult.success(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user