添加交班时间
This commit is contained in:
parent
2a361fed46
commit
a4a9f43ac6
|
|
@ -126,9 +126,9 @@ public class DataService {
|
|||
|
||||
|
||||
public Result handoverprint(Integer id,boolean isprintProduct){
|
||||
if(ObjectUtil.isNotEmpty(id)){
|
||||
ShopUserDuty shopUserDuty = shopUserDutyMapper.selectByPrimaryKey(id);
|
||||
// ShopUserDuty shopUserDuty=shopUserDutyMapper.selectByShopIdAndDay(tbShopInfo.getId(),tradeDay);
|
||||
MsgException.checkNull(shopUserDuty, "交班信息不存在");
|
||||
if(ObjectUtil.isNotEmpty(shopUserDuty)){
|
||||
|
||||
TbShopInfo tbShopInfo= tbShopInfoMapper.selectByPrimaryKey(Integer.valueOf(shopUserDuty.getShopId()));
|
||||
MsgException.checkNull(tbShopInfo,"店铺信息不存在");
|
||||
|
|
@ -215,6 +215,10 @@ public class DataService {
|
|||
PrinterUtils.printTickets(voiceJson, 1, 1, it.getAddress(), PrinterUtils.handoverprintData(handoverInfo));
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return Result.success(CodeEnum.SUCCESS);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue