| | |
| | | locDetl.setZpallet(wrkDetl.getZpallet()); // 托盘条码 |
| | | locDetl.setModiTime(now); |
| | | locDetl.setAppeTime(now); |
| | | locDetl.setModel(wrkDetl.getModel()); |
| | | |
| | | InOut inOut=inOutService.selectByMatnr(wrkDetl.getMatnr()); |
| | | if (inOut != null){ |
| | | inOut.setTemp1("在库"); |
| | | inOut.setModiTime(now.toString()); |
| | | // inOut.setModiTime(now.toString()); |
| | | } |
| | | if (inOutService.updateById(inOut)){ |
| | | if (!inOutService.updateById(inOut)){ |
| | | return FAIL.setMsg("更新模具属性失败"); |
| | | } |
| | | |
| | |
| | | InOut inOut=inOutService.selectByMatnr(wrkDetl.getMatnr()); |
| | | if (inOut != null){ |
| | | inOut.setTemp1("不在库"); |
| | | inOut.setModiTime(now.toString()); |
| | | // inOut.setModiTime(now.toString()); |
| | | } |
| | | if (inOutService.updateById(inOut)){ |
| | | if (!inOutService.updateById(inOut)){ |
| | | return FAIL.setMsg("更新模具属性失败"); |
| | | } |
| | | |
| | |
| | | InOut inOut=inOutService.selectByMatnr(wrkDetl.getMatnr()); |
| | | if (inOut != null){ |
| | | inOut.setTemp1("在库"); |
| | | inOut.setModiTime(now.toString()); |
| | | // inOut.setModiTime(now.toString()); |
| | | } |
| | | if (inOutService.updateById(inOut)){ |
| | | if (!inOutService.updateById(inOut)){ |
| | | return FAIL.setMsg("更新模具属性失败"); |
| | | } |
| | | |
| | |
| | | InOut inOut=inOutService.selectByMatnr(wrkDetl.getMatnr()); |
| | | if (inOut != null){ |
| | | inOut.setTemp1("不在库"); |
| | | inOut.setModiTime(now.toString()); |
| | | // inOut.setModiTime(now.toString()); |
| | | } |
| | | if (inOutService.updateById(inOut)){ |
| | | if (!inOutService.updateById(inOut)){ |
| | | return FAIL.setMsg("更新模具属性失败"); |
| | | } |
| | | } |