|
@@ -5,7 +5,9 @@ import com.miniframe.core.ExecProcessFlow;
|
|
|
import com.miniframe.core.exception.BusinessException;
|
|
|
import com.miniframe.core.ext.UtilTools;
|
|
|
import com.miniframe.generate.business.system.model.D000010BaseModel;
|
|
|
+import com.miniframe.model.system.DPipe;
|
|
|
import com.miniframe.model.system.DSource;
|
|
|
+import com.miniframe.model.system.dao.DPipeMapper;
|
|
|
import com.miniframe.model.system.dao.DSourceMapper;
|
|
|
|
|
|
/**
|
|
@@ -28,6 +30,9 @@ public class D000010Service extends D000010BaseModel implements ExecProcessFlow
|
|
|
if(ds==null){
|
|
|
throw new BusinessException("EB3000004");//点源数据不存在
|
|
|
}
|
|
|
+ DPipeMapper pipeMapper=UtilTools.getBean(DPipeMapper.class);
|
|
|
+ DPipe pipe =pipeMapper.selectByPrimaryKey(pid);
|
|
|
+ ds.setPname(pipe.getName());
|
|
|
ds.setPid(pid);
|
|
|
ds.setSite((float)site);
|
|
|
dsm.updateByPrimaryKey(ds);
|