|
|
|
@ -276,6 +276,31 @@ public class AppEnforcementRegistrationController extends BaseController |
|
|
|
tmpUserShow = tmpUserShow.substring(0, tmpUserShow.length()-1); |
|
|
|
} |
|
|
|
enforcementRegistration.setLawEnforcer2Show(tmpUserShow); |
|
|
|
|
|
|
|
// 字典回显
|
|
|
|
DictDataBean dictParams = new DictDataBean(); |
|
|
|
// 执法领域
|
|
|
|
if (StringUtils.isNotEmpty(enforcementRegistration.getLawField())) { |
|
|
|
dictParams.setDictType("law_field"); |
|
|
|
List<DictDataBean> dicts = dictDataApi.getDictData(dictParams); |
|
|
|
for (DictDataBean d : dicts) { |
|
|
|
if (d.getDictValue().equals(enforcementRegistration.getLawField())) { |
|
|
|
enforcementRegistration.setLawFieldText(d.getDictLabel()); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// 执法类别
|
|
|
|
if (StringUtils.isNotEmpty(enforcementRegistration.getCheckCategory())) { |
|
|
|
dictParams.setDictType("check_category"); |
|
|
|
List<DictDataBean> dicts = dictDataApi.getDictData(dictParams); |
|
|
|
for (DictDataBean d : dicts) { |
|
|
|
if (d.getDictValue().equals(enforcementRegistration.getCheckCategory())) { |
|
|
|
enforcementRegistration.setCheckCategoryText(d.getDictLabel()); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return ZDResponse.success("查询成功",enforcementRegistration); |
|
|
|
} |
|
|
|
|