|
|
|
@ -75,6 +75,9 @@ public class AppEnforcementRegistrationController extends BaseController |
|
|
|
{ |
|
|
|
startPage(); |
|
|
|
List<EnforcementRegistration> list = enforcementRegistrationService.selectEnforcementRegistrationList(enforcementRegistration); |
|
|
|
DictDataBean dictParams = new DictDataBean(); |
|
|
|
dictParams.setDictType("check_category"); |
|
|
|
List<DictDataBean> dicts = dictDataApi.getDictData(dictParams); |
|
|
|
for (EnforcementRegistration ee : list) { |
|
|
|
// 判断是否投诉
|
|
|
|
EnterpriseComplaint params = new EnterpriseComplaint(); |
|
|
|
@ -87,6 +90,13 @@ public class AppEnforcementRegistrationController extends BaseController |
|
|
|
ee.setComOrOpi(0); |
|
|
|
} |
|
|
|
|
|
|
|
// 执法类别
|
|
|
|
for (DictDataBean dict : dicts) { |
|
|
|
if (dict.getDictValue().equals(ee.getCheckCategory())) { |
|
|
|
ee.setCheckCategoryText(dict.getDictLabel()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 执法人员1需要展示用户名+执法码
|
|
|
|
UserBean userBean = userApi.getUserByUserId(ee.getLawEnforcerId()); |
|
|
|
String lawCN = StringUtils.isEmpty(userBean.getLawCertificateNum())?"":userBean.getLawCertificateNum(); |
|
|
|
|