| | |
| | | import com.vincent.rsf.server.manager.service.*; |
| | | import com.vincent.rsf.server.manager.service.impl.LocServiceImpl; |
| | | import com.vincent.rsf.server.system.constant.SerialRuleCode; |
| | | import com.vincent.rsf.server.system.enums.LocStsType; |
| | | import com.vincent.rsf.server.manager.enums.LocStsType; |
| | | import com.vincent.rsf.server.system.utils.SerialRuleUtils; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | |
| | | task.setTaskStatus(TaskStsType.WCS_EXECUTE_OUT_TOTE_LOAD.id); |
| | | taskService.updateById(task); |
| | | |
| | | basStation.setUseStatus(StaUseStatusType.TYPE_O.type); |
| | | basStation.setUseStatus(LocStsType.LOC_STS_TYPE_O.type); |
| | | basStation.setBarcode(null); |
| | | basStationService.updateById(basStation); |
| | | |
| | |
| | | String targetSite, String sourceSiteNo, Long loginUserId) { |
| | | Task task = new Task(); |
| | | task.setTaskCode(ruleCode) |
| | | .setTaskStatus(TaskStsType.GENERATE_IN.id.shortValue()) |
| | | .setTaskType(TaskType.TASK_TYPE_IN.type.shortValue()) |
| | | .setTaskStatus(TaskStsType.GENERATE_IN.id) |
| | | .setTaskType(TaskType.TASK_TYPE_IN.type) |
| | | .setWarehType(WarehType.WAREHOUSE_TYPE_CRN.id) |
| | | .setTargLoc(targetLoc) |
| | | .setBarcode(barcode) |
| | |
| | | // locNo.setWorkNo(ruleCode); |
| | | // return locNo; |
| | | // } |
| | | @Override |
| | | public InTaskMsgDto getLocNo(TaskInParam param) { |
| | | String matnr = null; |
| | | String batch = null; |
| | |
| | | case "CTU": //ctu |
| | | dto = getLocNoCtu(deviceBind, warehouseArea.getId(), param.getSourceStaNo(), matnr, batch, locTypeDto, 0, param.getIoType()); |
| | | break; |
| | | default: |
| | | dto = getLocNoCtu(deviceBind, warehouseArea.getId(), param.getSourceStaNo(), matnr, batch, locTypeDto, 0, param.getIoType()); |
| | | break; |
| | | } |
| | | return dto; |
| | | } |