优化员工报餐,过来周六日

This commit is contained in:
czx 2020-12-28 10:32:24 +08:00
parent f257ee2f6c
commit 08864e17b9

View File

@ -28,6 +28,8 @@ public class FtOrderDaoServiceImpl extends ServiceImpl<FtOrderDaoMapper, FtOrder
FtStaffStopMealsDaoMapper staffStopMealsDaoMapper;
public void GenerateStaffTomorrowOrder() {
int week = DateUtil.thisDayOfWeek();
if (week < 6)
this.baseMapper.GenerateStaffTomorrowOrder();
}