修改交班报错
This commit is contained in:
@@ -364,7 +364,10 @@ 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);
|
||||||
shopUserDutyMapper.updateStatusById(shopUserDuty.getId(), staffId);
|
if(Objects.nonNull(shopUserDuty)){
|
||||||
|
shopUserDutyMapper.updateStatusById(shopUserDuty.getId(), staffId);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user