|
|
@@ -93,7 +93,7 @@ public class NewAdminServiceImpl extends BaseMybatisDao<AdminMapper> implements
|
|
|
|
|
|
@SuppressWarnings("unused")
|
|
|
@Override
|
|
|
- public int updateByPrimaryKeySelective(Admin ad,Admin useAdmin, List<String> roleIds) {
|
|
|
+ public int updateByPrimaryKeySelective(Admin ad,Admin useAdmin, List<String> roleIds,String reviewerIds) {
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
params.put("uid", ad.getId());
|
|
|
params.put("roles", roleIds);
|
|
|
@@ -110,6 +110,8 @@ public class NewAdminServiceImpl extends BaseMybatisDao<AdminMapper> implements
|
|
|
int count=adminMapper.updateByPrimaryKey(ad);
|
|
|
//
|
|
|
asyncUtils.pushRoleUpdateExamine(ad,useAdmin,roleIds,useRole);
|
|
|
+ //修改公出审核人
|
|
|
+ updatePublicReviewer(ad.getId(),reviewerIds);
|
|
|
pushAmbRole(ad);
|
|
|
if (count>0&&ad.getAmbId()!=null){
|
|
|
//进行巴人数计算
|
|
|
@@ -122,7 +124,10 @@ public class NewAdminServiceImpl extends BaseMybatisDao<AdminMapper> implements
|
|
|
return count;
|
|
|
}
|
|
|
|
|
|
+ private void updatePublicReviewer(String aid ,String reviewerIds) {
|
|
|
+ String[] split = reviewerIds.split(",");
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
private int sumType(List<String > roleIds) {
|