| | |
| | | import com.core.common.BaseRes; |
| | | import com.core.common.Cools; |
| | | import com.core.exception.CoolException; |
| | | import com.zy.asrs.entity.WrkMast; |
| | | import com.zy.asrs.entity.param.FullStoreParam; |
| | | import com.zy.asrs.service.BasDevpService; |
| | | import com.zy.asrs.service.WorkService; |
| | | import com.zy.asrs.service.WrkMastService; |
| | | import com.zy.common.model.StartupDto; |
| | | import com.zy.common.service.CommonService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | } |
| | | } |
| | | // 检索库位 |
| | | String locNo = commonService.getLocNo(1, param.getDevpNo()); |
| | | |
| | | |
| | | |
| | | |
| | | // if (staNo == null || staNo.get) |
| | | // 获取最新的工作档 |
| | | // WrkMast latestWrkMast = wrkMastService.selectOne(new EntityWrapper<WrkMast>().orderBy("appe_time")); |
| | | |
| | | |
| | | StartupDto dto = commonService.getLocNo(1, param.getDevpNo()); |
| | | // 生成工作档 |
| | | WrkMast wrkMast = new WrkMast(); |
| | | // todo |
| | | boolean res = wrkMastService.insert(wrkMast); |
| | | if (!res) { |
| | | throw new CoolException("注入sql失败"); |
| | | } |
| | | } |
| | | |
| | | } |