Commit 89ea4438 authored by yff's avatar yff

修改BUG

parent 70b447cd
...@@ -958,10 +958,10 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService ...@@ -958,10 +958,10 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService
if(StringUtils.isNotEmpty(curFkVo.getId())) { if(StringUtils.isNotEmpty(curFkVo.getId())) {
GphyCondition hyCondition =new GphyCondition(); GphyCondition hyCondition =new GphyCondition();
hyCondition.setMid(curFkVo.getId()); hyCondition.setMid(curFkVo.getId());
curFkVo = gpfkDao.queryKwellGpfkByWosnAndGxid(fkCondition);
if(gphyDao.queryIfZpwc(hyCondition)!=0) { if(gphyDao.queryIfZpwc(hyCondition)!=0) {
curFkVo.setZpbz(SmCodeEnum.OKBZ.getPrefix()); curFkVo.setZpbz(SmCodeEnum.OKBZ.getPrefix());
} }
curFkVo = gpfkDao.queryKwellGpfkByWosnAndGxid(fkCondition);
} }
curFkVo.setSntype(snType); curFkVo.setSntype(snType);
return curFkVo; return curFkVo;
......
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