修改交班报错
This commit is contained in:
parent
8a0589e384
commit
e7692107a6
|
|
@ -364,8 +364,11 @@ public class DutyService {
|
||||||
ShopUserDuty shopUserDuty = shopUserDutyMapper.selectByShopIdAndStatus(shopId, "0");
|
ShopUserDuty shopUserDuty = shopUserDutyMapper.selectByShopIdAndStatus(shopId, "0");
|
||||||
// cloudPrinterService.handoverprintData(token, shopUserDuty.getId(), "",true);
|
// cloudPrinterService.handoverprintData(token, shopUserDuty.getId(), "",true);
|
||||||
// shopUserDutyMapper.updateStatusByTokenId(day, shopId, staffId);
|
// shopUserDutyMapper.updateStatusByTokenId(day, shopId, staffId);
|
||||||
|
if(Objects.nonNull(shopUserDuty)){
|
||||||
shopUserDutyMapper.updateStatusById(shopUserDuty.getId(), staffId);
|
shopUserDutyMapper.updateStatusById(shopUserDuty.getId(), staffId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue