会员积分代码提交
This commit is contained in:
@@ -5,10 +5,7 @@ import com.czg.account.vo.HandoverTotalVo;
|
||||
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;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
||||
/**
|
||||
@@ -37,13 +34,16 @@ public class HandoverRecordController {
|
||||
|
||||
/**
|
||||
* 收银机-交班/关班
|
||||
* @param isPrint 是否打印交班小票
|
||||
*/
|
||||
@PostMapping("handover")
|
||||
@OperationLog("收银机-交班/关班")
|
||||
//@SaAdminCheckPermission("handoverRecord:handover")
|
||||
public CzgResult<Void> handover() {
|
||||
public CzgResult<Void> handover(@RequestParam Integer isPrint) {
|
||||
Long id = handoverRecordService.handover();
|
||||
// TODO 后续需要发生mq消息给打印机
|
||||
if (isPrint == 1) {
|
||||
// TODO 后续需要发生mq消息给打印机
|
||||
}
|
||||
return CzgResult.success();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user