| | |
| | | import com.zy.asrs.service.WrkMastLogService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Date; |
| | | import java.util.Map; |
| | | |
| | | @Service("wrkMastLogService") |
| | |
| | | } |
| | | |
| | | @Override |
| | | public Long sumCostTimeByWrkSts(Date startTime, Date endTime, Integer wrkSts) { |
| | | Long total = this.baseMapper.sumCostTimeByWrkSts(startTime, endTime, wrkSts); |
| | | return total == null ? 0L : total; |
| | | } |
| | | |
| | | @Override |
| | | public Long countInboundHistoryBySourceStaNo(Date startTime, Date endTime, Integer sourceStaNo) { |
| | | if (sourceStaNo == null) { |
| | | return 0L; |
| | | } |
| | | Long count = this.baseMapper.countInboundHistoryBySourceStaNo(startTime, endTime, sourceStaNo); |
| | | return count == null ? 0L : count; |
| | | } |
| | | |
| | | @Override |
| | | public R inventoryFlowList(Integer curr, Integer limit, Map<String, Object> param) { |
| | | Page<InventoryFlowDto> page = new Page<>(); |
| | | page.setCurrent(curr); |