| | |
| | | import com.ld.igds.constant.RespCodeEnum; |
| | | import com.ld.igds.data.Page; |
| | | import com.ld.igds.data.PageResponse; |
| | | import com.ld.igds.data.SimpleDepot; |
| | | import com.ld.igds.file.dto.FileData; |
| | | import com.ld.igds.inout.InoutConstant; |
| | | import com.ld.igds.inout.dto.InoutData; |
| | |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.net.URLDecoder; |
| | | import java.util.Date; |
| | |
| | | view.addObject("deptId", deptId); |
| | | |
| | | // 仓库列表做下拉框使用 |
| | | List<Depot> listDepot = commonManager.listInDepot(); |
| | | List<SimpleDepot> listDepot = commonManager.getCacheDeptIn(user.getCompanyId(), deptId); |
| | | view.addObject(Constant.MODEL_KEY_DEPOT_LIST, listDepot); |
| | | |
| | | //入库流程 |
| | |
| | | view.addObject("deptId", deptId); |
| | | |
| | | // 仓库列表做下拉框使用 |
| | | List<Depot> listDepot = commonManager.listOutDepot(); |
| | | List<SimpleDepot> listDepot = commonManager.getCacheDeptOut(user.getCompanyId(), deptId); |
| | | view.addObject(Constant.MODEL_KEY_DEPOT_LIST, listDepot); |
| | | |
| | | //入库流程 |
| | |
| | | view.addObject("deptId", deptId); |
| | | |
| | | // 仓库列表做下拉框使用 |
| | | List<Depot> listDepot = commonManager.listInDepot(); |
| | | List<SimpleDepot> listDepot = commonManager.getCacheDeptIn(user.getCompanyId(), deptId); |
| | | view.addObject(Constant.MODEL_KEY_DEPOT_LIST, listDepot); |
| | | |
| | | // 粮食品种下拉框 |
| | |
| | | view.addObject("deptId", deptId); |
| | | |
| | | // 仓库列表做下拉框使用 |
| | | List<Depot> listDepot = commonManager.listInDepot(); |
| | | List<SimpleDepot> listDepot = commonManager.getCacheDeptIn(user.getCompanyId(), deptId); |
| | | view.addObject(Constant.MODEL_KEY_DEPOT_LIST, listDepot); |
| | | |
| | | //入库流程 |
| | |
| | | .getCompanyId(), deptId); |
| | | |
| | | //获取所有的地磅列表用于页面用户选择 |
| | | List<WeightDto> listWeight = inoutCommonManager.getInoutWeightAll(listInoutConf, InoutConstant.CONF_TYPE_30); |
| | | List<InoutConf> listWeight = inoutCommonManager.getInoutConf(listInoutConf, InoutConstant.CONF_TYPE_30); |
| | | view.addObject("listWeight", listWeight); |
| | | |
| | | // 获取当前地磅信息 |
| | | WeightDto weightDto = inoutCommonManager.getInoutCurWeight(listWeight, sort); |
| | | InoutConf weightDto = inoutCommonManager.getInoutConf(listInoutConf, sort, InoutConstant.CONF_TYPE_30); |
| | | view.addObject("weightDto", weightDto); |
| | | |
| | | // 过程摄像头1 |
| | |
| | | view.addObject("deptId", deptId); |
| | | |
| | | // 仓库列表做下拉框使用 |
| | | List<Depot> listDepot = commonManager.listInDepot(); |
| | | List<SimpleDepot> listDepot = commonManager.getCacheDeptOut(user.getCompanyId(), deptId); |
| | | view.addObject(Constant.MODEL_KEY_DEPOT_LIST, listDepot); |
| | | |
| | | // 粮食品种下拉框 |
| | |
| | | view.addObject("deptId", deptId); |
| | | |
| | | // 仓库列表做下拉框使用 |
| | | List<Depot> listDepot = commonManager.listInDepot(); |
| | | List<SimpleDepot> listDepot = commonManager.getCacheDeptOut(user.getCompanyId(),deptId); |
| | | view.addObject(Constant.MODEL_KEY_DEPOT_LIST, listDepot); |
| | | |
| | | //入库流程 |
| | |
| | | .getCompanyId(), deptId); |
| | | |
| | | //获取所有的地磅列表用于页面用户选择 |
| | | List<WeightDto> listWeight = inoutCommonManager.getInoutWeightAll(listInoutConf, InoutConstant.CONF_TYPE_30); |
| | | List<InoutConf> listWeight = inoutCommonManager.getInoutConf(listInoutConf, InoutConstant.CONF_TYPE_30); |
| | | view.addObject("listWeight", listWeight); |
| | | |
| | | // 获取当前地磅信息 |
| | | WeightDto weightDto = inoutCommonManager.getInoutCurWeight(listWeight, sort); |
| | | InoutConf weightDto = inoutCommonManager.getInoutConf(listInoutConf, sort, InoutConstant.CONF_TYPE_30); |
| | | view.addObject("weightDto", weightDto); |
| | | |
| | | // 过程摄像头1 |