|  | @@ -37,6 +37,7 @@ public class D10002Service extends D10002BaseModel implements ExecProcessFlow {
 | 
	
		
			
				|  |  |  		String sectionPara3 =this.getA_d10002().getSectionPara3();
 | 
	
		
			
				|  |  |  		String sectionPara4 =this.getA_d10002().getSectionPara4();
 | 
	
		
			
				|  |  |  		String sectionPara5 =this.getA_d10002().getSectionPara5();
 | 
	
		
			
				|  |  | +		String roughCoeName=this.getA_d10002().getRoughCoeName();
 | 
	
		
			
				|  |  |  		String code =this.getA_d10002().getCode();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -62,7 +63,7 @@ public class D10002Service extends D10002BaseModel implements ExecProcessFlow {
 | 
	
		
			
				|  |  |  		if(pid ==null || pid<=0){//添加
 | 
	
		
			
				|  |  |  			pdSnIdEnId(dPipeDao,snId,enId);
 | 
	
		
			
				|  |  |  			savePipe(dPipeDao, name, snId, enId, roughCoe,
 | 
	
		
			
				|  |  | -					sectionType, sectionPara1, sectionPara2, sectionPara3, sectionPara4, sectionPara5,code,gf,bf);
 | 
	
		
			
				|  |  | +					sectionType, sectionPara1, sectionPara2, sectionPara3, sectionPara4, sectionPara5,code,roughCoeName,gf,bf);
 | 
	
		
			
				|  |  |  		}else{//修改
 | 
	
		
			
				|  |  |  			DPipe pipe =dPipeDao.selectByPrimaryKey(pid);
 | 
	
		
			
				|  |  |  			pdSnIdEnIdNotPid(dPipeDao,snId,enId,pid);
 | 
	
	
		
			
				|  | @@ -70,7 +71,7 @@ public class D10002Service extends D10002BaseModel implements ExecProcessFlow {
 | 
	
		
			
				|  |  |  				throw new BusinessException("EB3100002");
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  			updatePipe(dPipeDao, name, snId, enId, roughCoe, sectionType, sectionPara1, sectionPara2, sectionPara3, sectionPara4,
 | 
	
		
			
				|  |  | -					sectionPara5, pipe,code,gf,bf);
 | 
	
		
			
				|  |  | +					sectionPara5,roughCoeName, pipe,code,gf,bf);
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -94,7 +95,7 @@ public class D10002Service extends D10002BaseModel implements ExecProcessFlow {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	private void updatePipe(DPipeMapper dPipeDao, String name, Integer snId, Integer enId, String roughCoe,
 | 
	
		
			
				|  |  |  							String sectionType, String sectionPara1, String sectionPara2, String sectionPara3,
 | 
	
		
			
				|  |  | -							String sectionPara4, String sectionPara5, DPipe pipe,String code,SysFile gf,SysFile bf) {
 | 
	
		
			
				|  |  | +							String sectionPara4, String sectionPara5,String roughCoeName, DPipe pipe,String code,SysFile gf,SysFile bf) {
 | 
	
		
			
				|  |  |  		pipe.setName(name);
 | 
	
		
			
				|  |  |  		pipe.setSnid(snId);
 | 
	
		
			
				|  |  |  		pipe.setEnid(enId);
 | 
	
	
		
			
				|  | @@ -110,6 +111,7 @@ public class D10002Service extends D10002BaseModel implements ExecProcessFlow {
 | 
	
		
			
				|  |  |  		pipe.setGfname(gf.getFilename());
 | 
	
		
			
				|  |  |  		pipe.setBfid(bf.getId());
 | 
	
		
			
				|  |  |  		pipe.setBfname(bf.getFilename());
 | 
	
		
			
				|  |  | +		pipe.setRoughCoeName(roughCoeName);
 | 
	
		
			
				|  |  |  		dPipeDao.updateByPrimaryKey(pipe);
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -127,7 +129,7 @@ public class D10002Service extends D10002BaseModel implements ExecProcessFlow {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	private void savePipe(DPipeMapper dPipeDao, String name, Integer snId, Integer enId, String roughCoe, String sectionType,
 | 
	
		
			
				|  |  |  						  String sectionPara1, String sectionPara2, String sectionPara3, String sectionPara4, String sectionPara5,
 | 
	
		
			
				|  |  | -	String code,SysFile gf,SysFile bf) {
 | 
	
		
			
				|  |  | +	String code,String roughCoeName ,SysFile gf,SysFile bf) {
 | 
	
		
			
				|  |  |  		DPipe pipe =new DPipe();
 | 
	
		
			
				|  |  |  		pipe.setName(name);
 | 
	
		
			
				|  |  |  		pipe.setSnid(snId);
 | 
	
	
		
			
				|  | @@ -144,6 +146,7 @@ public class D10002Service extends D10002BaseModel implements ExecProcessFlow {
 | 
	
		
			
				|  |  |  		pipe.setGfname(gf.getFilename());
 | 
	
		
			
				|  |  |  		pipe.setBfid(bf.getId());
 | 
	
		
			
				|  |  |  		pipe.setBfname(bf.getFilename());
 | 
	
		
			
				|  |  | +		pipe.setRoughCoeName(roughCoeName);
 | 
	
		
			
				|  |  |  		dPipeDao.insertSelective(pipe);
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 |