Commit b7ccdb33 authored by 竹天卫's avatar 竹天卫

导出委托单 优化

parent bb033ef9
...@@ -123,13 +123,13 @@ public class EntrustController { ...@@ -123,13 +123,13 @@ public class EntrustController {
return; return;
} }
Map<String, Object> beanParams = new HashMap<>(7); Map<String, Object> beanParams = new HashMap<>(7);
beanParams.put("clientName", entrustVo.getClientName()); beanParams.put("clientName", entrustVo.getClientName()==null?"":entrustVo.getClientName());
beanParams.put("entrustCode", entrustVo.getEntrustCode()); beanParams.put("entrustCode", entrustVo.getEntrustCode()==null?"":entrustVo.getEntrustCode());
beanParams.put("userName", entrustVo.getUserName()); beanParams.put("userName", entrustVo.getUserName()==null?"":entrustVo.getUserName());
beanParams.put("userPhone", entrustVo.getUserPhone()); beanParams.put("userPhone", entrustVo.getUserPhone()==null?"":entrustVo.getUserPhone());
beanParams.put("userFax", entrustVo.getUserFax()); beanParams.put("userFax", entrustVo.getUserFax()==null?"":entrustVo.getUserFax());
beanParams.put("projectName", entrustVo.getProjectName()); beanParams.put("projectName", entrustVo.getProjectName()==null?"":entrustVo.getProjectName());
beanParams.put("sampleNum", entrustVo.getSampleNum()); beanParams.put("sampleNum", entrustVo.getSampleNum()==null?"":entrustVo.getSampleNum());
//获取委托单样品列表(不包含平行样) //获取委托单样品列表(不包含平行样)
List<SampleVo> sampleList = new ArrayList<>(entrustVo.getSampleList().size()); List<SampleVo> sampleList = new ArrayList<>(entrustVo.getSampleList().size());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment