| | |
| | | public void addHis(DefectiveProducts defective) { |
| | | DefectiveProductsHistory his=new DefectiveProductsHistory(); |
| | | his.setDeftId(defective.getId()); |
| | | his.setRecordTime(defective.getStartTime()); |
| | | his.setBadProduct(defective.getBadProduct()); |
| | | his.setRecordTime(defective.getRecordTime()); |
| | | his.setConfirmStatus(defective.getConfirmStatus()); |
| | | his.setNote(defective.getNote()); |
| | | his.setReceiverIds(defective.getReceiverIds()); |
| | | his.setReceiverNames(defective.getReceiverNames()); |
| | | his.setDelProduct(0); |
| | | his.setDelId(defective.getSenderId()); |
| | | his.setDelName(defective.getSenderName()); |
| | | mapper.insert(his); |
| | | } |
| | | //记录处理记录 |
| | |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | defectiveHis.setDelUrl("doc_file" + File.separator + defectiveDirSuffix); |
| | | defectiveHis.setDelUrl(defectiveDirSuffix); |
| | | } |
| | | mapper.insert(defectiveHis); |
| | | } |