|
|
@@ -33,14 +33,15 @@ public class AdminOrgAnnualReportServiceImpl extends BaseMybatisDao<Organizatio
|
|
|
o.setId(UUID.randomUUID().toString());
|
|
|
o.setAid(TokenManager.getAdminId());
|
|
|
// o.setAid("1");
|
|
|
+ int i=organizationAnnualReportMapper.insertSelective(o);
|
|
|
countIntegrity(o.getUid());
|
|
|
- return organizationAnnualReportMapper.insertSelective(o);
|
|
|
+ return i;
|
|
|
}
|
|
|
|
|
|
private void countIntegrity(String uid) {
|
|
|
User u= new User();
|
|
|
CustomerOrganizationDetailBo bo=userMapper.findOrganizationCustomerDetail(uid);
|
|
|
- u.setAccomplishSituation(uid);
|
|
|
+ u.setId(uid);
|
|
|
u.setIntegrity(customerService.countIntegrity(bo));
|
|
|
userMapper.updateByPrimaryKeySelective(u);
|
|
|
}
|