交班相关代码

This commit is contained in:
Tankaikai
2025-02-28 11:05:53 +08:00
parent e0d5db8d13
commit 5416d9b556
8 changed files with 341 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ import com.czg.log.annotation.OperationLog;
import com.czg.resp.CzgResult;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -34,4 +35,16 @@ public class HandoverRecordController {
return CzgResult.success(data);
}
/**
* 收银机-交班/关班
*/
@PostMapping("handover")
@OperationLog("收银机-交班/关班")
//@SaAdminCheckPermission("handoverRecord:handover")
public CzgResult<Void> handover() {
Long id = handoverRecordService.handover();
// TODO 后续需要发生mq消息给打印机
return CzgResult.success();
}
}