| | |
| | | } |
| | | |
| | | try { |
| | | // 保存工作明细档历史档 |
| | | if (wrkMastMapper.saveWrkDetlLog(wrkMast.getWrkNo()) == 0) { |
| | | throw new CoolException("保存工作明细档历史档失败"); |
| | | } |
| | | // 保存工作明细档历史档 //因为兼容u8工作模式 不能生成历史工作明细 |
| | | // if (wrkMastMapper.saveWrkDetlLog(wrkMast.getWrkNo()) == 0) { |
| | | // throw new CoolException("保存工作明细档历史档失败"); |
| | | // } |
| | | // 保存工作主档历史档 |
| | | if (wrkMastMapper.saveWrkMastLog(wrkMast.getWrkNo()) == 0) { |
| | | throw new CoolException("保存工作主档历史档失败"); |
| | |
| | | |
| | | <update id="updateIoTime"> |
| | | update asr_wrk_detl |
| | | set io_time = #{ioTime},order_no = '' |
| | | set io_time = #{ioTime} |
| | | where 1=1 |
| | | and wrk_no = #{workNo} |
| | | </update> |