add 稽查设置
This commit is contained in:
@@ -31,6 +31,31 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>local</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<properties>
|
||||
<profileActive>local</profileActive>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>ab</id>
|
||||
<properties>
|
||||
<profileActive>ab</profileActive>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>online</id>
|
||||
<properties>
|
||||
<profileActive>online</profileActive>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
package com.cool.store.controller;
|
||||
|
||||
import com.cool.store.dto.inspection.setting.AddInspectionSettingDTO;
|
||||
import com.cool.store.dto.inspection.setting.DeleteInspectionSettingDTO;
|
||||
import com.cool.store.dto.inspection.setting.UpdateInspectionSettingDTO;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.vo.inspection.setting.InspectionSettingPageVO;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @FileName: InspectionSettingController
|
||||
* @Description:稽核区域设置
|
||||
* @date 2023-07-17 14:29
|
||||
*/
|
||||
@RestController
|
||||
@Slf4j
|
||||
@Api(tags = "稽核区域设置")
|
||||
public class InspectionSettingController {
|
||||
|
||||
@ApiOperation("稽核区域设置列表")
|
||||
@GetMapping("/inspection/setting/page")
|
||||
public ResponseResult<InspectionSettingPageVO> getInspectionSettingPage(@RequestParam("pageNum")Integer pageNum, @RequestParam("pageSize")Integer pageSize){
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
@ApiOperation("稽核区域设置详情")
|
||||
@GetMapping("/inspection/setting/detail")
|
||||
public ResponseResult<InspectionSettingPageVO> getInspectionSettingDetail(@RequestParam("inspectionSettingId")Long inspectionSettingId){
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
@ApiOperation("新增稽核区域设置")
|
||||
@PostMapping("/inspection/setting/add")
|
||||
public ResponseResult<Long> addInspectionSetting(@RequestBody AddInspectionSettingDTO param){
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
@ApiOperation("编辑稽核区域设置")
|
||||
@PostMapping("/inspection/setting/update")
|
||||
public ResponseResult<Integer> updateInspectionSetting(@RequestBody UpdateInspectionSettingDTO param){
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
@ApiOperation("删除稽核区域设置")
|
||||
@DeleteMapping("/inspection/setting/delete")
|
||||
public ResponseResult<Integer> deleteInspectionSetting(@RequestBody DeleteInspectionSettingDTO param){
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
@ApiOperation("查询已经关联的稽核人")
|
||||
@DeleteMapping("/inspection/setting/bind/users")
|
||||
public ResponseResult<List<String>> getBingUser(){
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
@ApiOperation("查询已经配置的归属地")
|
||||
@DeleteMapping("/inspection/setting/bind/open/area")
|
||||
public ResponseResult<List<Long>> getBingOpenArea(){
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
spring.application.name=coolstore-partner-webb
|
||||
spring.profiles.active=@profileActive@
|
||||
|
||||
server.port=31000
|
||||
server.port=33000
|
||||
server.servlet.context-path=/partner/pc
|
||||
|
||||
#logback
|
||||
|
||||
Reference in New Issue
Block a user