|
|
|
@ -5,6 +5,7 @@ import cn.hutool.core.util.IdUtil; |
|
|
|
import cn.hutool.core.util.StrUtil; |
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.zdxt.auth.dto.DeptBean; |
|
|
|
import com.zdxt.auth.dto.UserBean; |
|
|
|
import com.zdxt.auth.feign.UserApi; |
|
|
|
@ -76,12 +77,19 @@ public class AppEnterpriseLawEnforcementController extends BaseController |
|
|
|
* 查询企业端-执法部门预约记录列表 |
|
|
|
*/ |
|
|
|
// @RequiresPermissions("code:enforcement:queryList")
|
|
|
|
@GetMapping("/queryList") |
|
|
|
@PostMapping("/queryList") |
|
|
|
@ResponseBody |
|
|
|
public TableDataInfo queryList(EnterpriseLawEnforcement enterpriseLawEnforcement) |
|
|
|
public TableDataInfo queryList(@RequestBody EnterpriseLawEnforcement enterpriseLawEnforcement) |
|
|
|
{ |
|
|
|
startPage(); |
|
|
|
// startPage();
|
|
|
|
int total = enterpriseLawEnforcementService.selectTotal(enterpriseLawEnforcement); |
|
|
|
List<EnterpriseLawEnforcement> list = enterpriseLawEnforcementService.selectEnterpriseLawEnforcementList(enterpriseLawEnforcement); |
|
|
|
|
|
|
|
TableDataInfo rspData = new TableDataInfo(); |
|
|
|
rspData.setCode(0); |
|
|
|
rspData.setRows(list); |
|
|
|
rspData.setTotal(total); |
|
|
|
|
|
|
|
// for (EnterpriseLawEnforcement ee : list) {
|
|
|
|
// EnterpriseComplaint params = new EnterpriseComplaint();
|
|
|
|
// params.setRelId(ee.getId());
|
|
|
|
@ -115,7 +123,8 @@ public class AppEnterpriseLawEnforcementController extends BaseController |
|
|
|
ee.setStatus(3); |
|
|
|
} |
|
|
|
} |
|
|
|
return getDataTable(list); |
|
|
|
// return getDataTable(list);
|
|
|
|
return rspData; |
|
|
|
} |
|
|
|
@GetMapping("/queryTotal") |
|
|
|
@ResponseBody |
|
|
|
|