| | |
| | | this.businessSendFactory = businessSendFactory; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | public IPage<AndonRecordVO> pageReceiveList(AndonRecordSearchVO andonRecordSearchVO, Query query) { |
| | | |
| | | List<AndonRecordReason> list = this.recordReasonService.list(); |
| | |
| | | */ |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | public AndonReceiveRecordVO receiveRecordDetail(String id) { |
| | | AndonRecord andonRecord = (AndonRecord)getById(id); |
| | | if (Func.isEmpty(andonRecord)) |
| | |
| | | return andonReceiveRecordVO; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | @Transactional(rollbackFor = {Exception.class}) |
| | | public Boolean batchReceiveAndonRecord(List<Long> ids) { |
| | | List<Integer> invalidAndonStatus = Arrays.asList(new Integer[] { AndonRecordStatusEnum.RECEIVED.getCode(), AndonRecordStatusEnum.FINISH.getCode() }); |
| | |
| | | } |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | @Transactional(rollbackFor = {Exception.class}) |
| | | public Boolean delReceiveAndonRecord(String id) { |
| | | AndonRecord andonRecord = (AndonRecord) getById(id); |
| | |
| | | } |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | @Transactional(rollbackFor = {Exception.class}) |
| | | public AndonReceiveRecordVO editReceiveRecord(AndonReceiveEditRecordVO andonReceiveEditRecordVO) { |
| | | Long recordId = andonReceiveEditRecordVO.getId(); |
| | |
| | | businessSend.saveState(andonMessageSendVO, notifyBusinessSend); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | @Transactional(rollbackFor = {Exception.class}) |
| | | public Boolean toBeOrReceivedAndonRecord(AndonFinishRecordVO andonFinishRecordVO) { |
| | | String id = andonFinishRecordVO.getId(); |
| | |
| | | return Boolean.valueOf(updateById(andonRecord)); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | @Transactional(rollbackFor = {Exception.class}) |
| | | public Boolean initiateAndonCall(AndonReceiveRecordVO andonReceiveRecordVO) { |
| | | boolean isSamePeople = andonReceiveRecordVO.getCallEmpId().equals(andonReceiveRecordVO.getHandEmpId()); |
| | |
| | | */ |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | public List<HmiAndonVO> hmiWorkstationLoginAndon(String workstationId) { |
| | | List<AndonRecord> andonRecordList = checkWorkstationAndonType(Long.valueOf(Func.toLong(workstationId)), null); |
| | | if (andonRecordList != null) { |
| | |
| | | */ |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | public AndonStatisticalCardVO queryCard(List<Long> workstations, Date startTime, Date endTime) { |
| | | return ((AndonRecordMapper) this.baseMapper).queryCard(workstations, DateUtil.formatDateTime(startTime), DateUtil.formatDateTime(endTime)); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | public IPage<AndonTableStatisticalVO> getTableAndon(Query query, Date startTime, Date endTime, List<Long> workstationIds) { |
| | | return ((AndonRecordMapper) this.baseMapper).getTableAndon(Condition.getPage(query), DateUtil.formatDateTime(startTime), DateUtil.formatDateTime(endTime), workstationIds); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.andon.service.IAndonRecordService |
| | | |
| | | public List<AndonRecord> queryCallTime(Date startTime, Date endTime, List<Long> workstationIds) { |
| | | QueryWrapper<AndonRecord> wrapper = AbstractSqlAdapter.dateBetweenAdapter(Lambda.getName(AndonRecord::getCallTime), startTime, endTime); |
| | | wrapper.in(Lambda.getName(AndonRecord::getWorkstationId), workstationIds) |