|
|
|
@ -28,6 +28,10 @@ import org.w3c.dom.Node;
|
|
|
|
|
import org.w3c.dom.NodeList;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import java.io.File;
|
|
|
|
|
import java.io.FileInputStream;
|
|
|
|
|
import java.io.FileNotFoundException;
|
|
|
|
|
import java.io.InputStream;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Collections;
|
|
|
|
|
import java.util.Date;
|
|
|
|
@ -147,11 +151,11 @@ public class RelCodeBatchService extends ServiceImpl<RelCodeBatchMapper, RelCode
|
|
|
|
|
}
|
|
|
|
|
AuthAdmin user = customerService.getUserBean();
|
|
|
|
|
RelCodeBatch relCodeBatch = new RelCodeBatch();
|
|
|
|
|
BeanUtils.copyProperties(relCodeBatchRequest,relCodeBatch);
|
|
|
|
|
relCodeBatch.setCreateTime(new Date());
|
|
|
|
|
relCodeBatch.setCreateUser(user.getUserName());
|
|
|
|
|
relCodeBatch.setUpdateTime(new Date());
|
|
|
|
|
relCodeBatch.setUpdateUser(user.getUserName());
|
|
|
|
|
BeanUtils.copyProperties(relCodeBatchRequest,relCodeBatch);
|
|
|
|
|
this.save(relCodeBatch);
|
|
|
|
|
List<RelCodeDetail> relCodeDetails = new ArrayList<>();
|
|
|
|
|
for(RelCodeDetailRequest request : detailList){
|
|
|
|
|