| | |
| | | @Override |
| | | public int insertOmProductionOrdeInfo(OmProductionOrdeInfo omProductionOrdeInfo) |
| | | { |
| | | omProductionOrdeInfo.setCreateTime(DateUtils.getNowDate()); |
| | | Integer streamNumber = omProductionOrdeInfoMapper.getMaxStreamNumber(); |
| | | omProductionOrdeInfo.setStreamNumber(String.valueOf(streamNumber+1)); |
| | | // omProductionOrdeInfo.setCreateTime(DateUtils.getNowDate()); |
| | | // Integer streamNumber = omProductionOrdeInfoMapper.getMaxStreamNumber(); |
| | | // omProductionOrdeInfo.setStreamNumber(String.valueOf(streamNumber+1)); |
| | | omProductionOrdeInfo.setCreateTime(new Date()); |
| | | omProductionOrdeInfo.setOnlineCompletionMark("0"); |
| | | omProductionOrdeInfo.setSfResult("0"); |
| | | return omProductionOrdeInfoMapper.insertOmProductionOrdeInfo(omProductionOrdeInfo); |
| | | } |
| | | |
| | |
| | | public OmProductionOrdeInfo getLastOrder() { |
| | | return omProductionOrdeInfoMapper.getLastOrder(); |
| | | } |
| | | |
| | | @Override |
| | | public List<OmProductionOrdeInfo> listLoopLine(OmProductionOrdeInfo omProductionOrdeInfo) { |
| | | return omProductionOrdeInfoMapper.listLoopLine(omProductionOrdeInfo); |
| | | } |
| | | } |