|
|
@@ -34,7 +34,7 @@ public class AdminOrgAnnualReportServiceImpl extends BaseMybatisDao<Organizatio
|
|
|
o.setAid(TokenManager.getAdminId());
|
|
|
// o.setAid("1");
|
|
|
countIntegrity(o.getUid());
|
|
|
- return organizationAnnualReportMapper.insert(o);
|
|
|
+ return organizationAnnualReportMapper.insertSelective(o);
|
|
|
}
|
|
|
|
|
|
private void countIntegrity(String uid) {
|
|
|
@@ -93,7 +93,7 @@ public class AdminOrgAnnualReportServiceImpl extends BaseMybatisDao<Organizatio
|
|
|
o.setId(UUID.randomUUID().toString());
|
|
|
o.setAid(TokenManager.getAdminId());
|
|
|
// o.setAid("1");
|
|
|
- int i=organizationYearProjectMapper.insert(o);
|
|
|
+ int i=organizationYearProjectMapper.insertSelective(o);
|
|
|
countIntegrity(o.getUid());
|
|
|
return i;
|
|
|
}
|