|
@@ -214,7 +214,7 @@ public class BusinessProjectServiceImpl extends BaseMybatisDao<BusinessProjectMa
|
|
|
public int updateProject(BusinessProject s) {
|
|
public int updateProject(BusinessProject s) {
|
|
|
BusinessProject bp=businessProjectMapper.selectByPrimaryKey(s.getId());
|
|
BusinessProject bp=businessProjectMapper.selectByPrimaryKey(s.getId());
|
|
|
TheGinseng(s, bp);
|
|
TheGinseng(s, bp);
|
|
|
- return businessProjectMapper.updateByPrimaryKey(bp);
|
|
|
|
|
|
|
+ return businessProjectMapper.updateByPrimaryKeySelective(bp);
|
|
|
}
|
|
}
|
|
|
private void TheGinseng(BusinessProject s, BusinessProject bp) {
|
|
private void TheGinseng(BusinessProject s, BusinessProject bp) {
|
|
|
|
|
|