bug修复

This commit is contained in:
guoshengxiong 2024-09-23 18:46:58 +08:00
parent 4e7bf992b0
commit eb425dd952
3 changed files with 20 additions and 1 deletions

View File

@ -67,13 +67,29 @@ public class ProjectEnterpriseController {
return Result.success(pageList);
}
@ApiOperation(value = "分页列表查询项目关联的劳务公司信息", notes = "分页列表查询项目关联的劳务公司信息", httpMethod = "POST")
@ApiImplicitParams({
@ApiImplicitParam(name = "enterpriseTypeId", value = "企业类型ID", paramType = "body", required = false, dataType = "String"),
@ApiImplicitParam(name = "enterpriseName", value = "劳务公司名称", paramType = "body", required = false, dataType = "String"),
@ApiImplicitParam(name = "projectSn", value = "项目sn或企业sn", paramType = "body", required = true, dataType = "String"),
@ApiImplicitParam(name = "pageNo", value = "第几页", paramType = "body", required = true, dataType = "Integer"),
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "body", required = true, dataType = "Integer"),
@ApiImplicitParam(name = "cbsProjectType", value = "项目类型(字典)", paramType = "body", required = true, dataType = "Integer"),
@ApiImplicitParam(name = "isCountMainEnterprise", value = "1是总包", paramType = "body", required = false, dataType = "String"),
})
@PostMapping(value = "/allList")
public Result<IPage<EnterpriseInfo>> queryPageListAll(@RequestBody Map<String, Object> map) {
IPage<EnterpriseInfo> pageList = projectEnterpriseService.selectProjectEnterprisePage(map);
return Result.success(pageList);
}
@ApiOperation(value = "列表查询项目关联的劳务公司信息", notes = "列表查询项目关联的劳务公司信息", httpMethod = "POST")
@ApiImplicitParams({
@ApiImplicitParam(name = "enterpriseName", value = "劳务公司名称", paramType = "body", required = false, dataType = "String"),
@ApiImplicitParam(name = "sn", value = "项目sn或企业sn", paramType = "body", required = true, dataType = "String"),
})
@PostMapping(value = "/selectList")
public Result<List<EntityMap>> selectProjectEnterpriseList(@RequestBody Map<String,Object> map) {
public Result<List<EntityMap>> selectProjectEnterpriseList(@RequestBody Map<String, Object> map) {
List<EntityMap> pageList = projectEnterpriseService.selectProjectEnterpriseList(map);
return Result.success(pageList);
}

View File

@ -80,6 +80,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
http.authorizeRequests()
//请求路径允许访问
.antMatchers("/xmgl/projectEnterprise/allList").permitAll()
.antMatchers("/xmgl/constructionEquipmentTool/flow/add").permitAll()
.antMatchers("/xmgl/xzSupplierQualificationApply/flow/start/token").permitAll()
.antMatchers("/xmgl/xzSupplierQualificationApply/flow/saveInfo").permitAll()

View File

@ -100,3 +100,5 @@ magic-api.resource.location=C:/jxj/prod/backEnd/itbgpImage/data/magic-api
upload.image.url.prefix=http://182.90.224.237:51234/image/
#内网的服务图片的url前缀
xingzong.inner.upload.image.url.prefix=http://10.168.2.104:9809/image/
#承包商重新提交申请链接(点击链接补充资质)
supplierResubmitApplicationUrl=http://192.168.34.175:88/#/workspace/contractorApply