|
|
|
@ -137,6 +137,28 @@ public class AppEnforcementRegistrationController extends BaseController { |
|
|
|
return R.ok(result); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 执法端-查询执法记录-当前企业 |
|
|
|
* @param bo |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@SaIgnore |
|
|
|
@GetMapping("/queryByEpId") |
|
|
|
public R<List<EnforcementRegistrationVo>> queryByEpId(EnforcementRegistrationBo bo) |
|
|
|
{ |
|
|
|
if (Objects.nonNull( LoginHelper.getUserId()) && bo.getWarnType()==0) { |
|
|
|
bo.setDeptId(LoginHelper.getDeptId() == null ? null : LoginHelper.getDeptId()); |
|
|
|
|
|
|
|
SysDeptVo bureauDept = sysDeptService.iterationDeptParentToBureau(LoginHelper.getDeptId()); |
|
|
|
if (bureauDept != null) { |
|
|
|
bo.setBureauDeptId(bureauDept.getDeptId()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
List<EnforcementRegistrationVo> list = enforcementRegistrationService.selectEnforcementRegistrationList(bo); |
|
|
|
return R.ok(list); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 修改保存执法端-执法登记 |
|
|
|
*/ |
|
|
|
|