|
|
@@ -252,7 +252,9 @@ public class StoreInfoController {
|
|
|
@ApiImplicitParam(name = "weidu", value = "weidu", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "renewContractStatus", value = "门店续签合同状态", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "foodLicenceStatus", value = "门店经营许可证状态", dataType = "String", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "foodLicenceWhetherExpiredStatus", value = "门店经营许可证是否过期状态", dataType = "String", paramType = "query")
|
|
|
+ @ApiImplicitParam(name = "foodLicenceWhetherExpiredStatus", value = "门店经营许可证是否过期状态", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "startApplyTime", value = "开始时间", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "endApplyTime", value = "结束时间", dataType = "String", paramType = "query")
|
|
|
})
|
|
|
@GetMapping("/getNewStorePage")
|
|
|
public R<IPage<StoreInfoVo>> getNewStorePage(
|
|
|
@@ -271,7 +273,9 @@ public class StoreInfoController {
|
|
|
@RequestParam(required = false) String weidu,
|
|
|
@RequestParam(required = false) String renewContractStatus,
|
|
|
@RequestParam(required = false) String foodLicenceStatus,
|
|
|
- @RequestParam(required = false) String foodLicenceWhetherExpiredStatus)
|
|
|
+ @RequestParam(required = false) String foodLicenceWhetherExpiredStatus,
|
|
|
+ @RequestParam(required = false) String startApplyTime,
|
|
|
+ @RequestParam(required = false) String endApplyTime)
|
|
|
{
|
|
|
log.info("StoreInfoController.getStoresPage?pageNum={}," +
|
|
|
"pageSize={},storeName={},storeContact={}," +
|
|
|
@@ -279,12 +283,12 @@ public class StoreInfoController {
|
|
|
"storeApplicationStatus={},storeStatus={}," +
|
|
|
"businessSection={},jingdu={},weidu={}," +
|
|
|
"renewContractStatus={},foodLicenceStatus={}" +
|
|
|
- ",foodLicenceWhetherExpiredStatus={}",
|
|
|
+ ",foodLicenceWhetherExpiredStatus={},startApplyTime={},endApplyTime={}",
|
|
|
pageNum, pageSize, storeName, storeContact,
|
|
|
id, storePhone, storeType, expiredState, storeApplicationStatus,
|
|
|
storeStatus, businessSection, jingdu, weidu, renewContractStatus,
|
|
|
- foodLicenceStatus, foodLicenceWhetherExpiredStatus);
|
|
|
- return R.data(storeInfoService.getNewStorePage(pageNum, pageSize, storeName, storeContact, id, storePhone, storeType, expiredState, storeApplicationStatus, storeStatus, businessSection, jingdu, weidu, renewContractStatus, foodLicenceStatus, foodLicenceWhetherExpiredStatus));
|
|
|
+ foodLicenceStatus, foodLicenceWhetherExpiredStatus, startApplyTime, endApplyTime);
|
|
|
+ return R.data(storeInfoService.getNewStorePage(pageNum, pageSize, storeName, storeContact, id, storePhone, storeType, expiredState, storeApplicationStatus, storeStatus, businessSection, jingdu, weidu, renewContractStatus, foodLicenceStatus, foodLicenceWhetherExpiredStatus, startApplyTime, endApplyTime));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -421,6 +425,25 @@ public class StoreInfoController {
|
|
|
return R.success("审批完成");
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "web端人工复核店铺")
|
|
|
+ @ApiOperationSupport(order = 24)
|
|
|
+ @PostMapping("/manualReview")
|
|
|
+ public R<Boolean> manualReview(@RequestBody StoreInfoDto storeInfoDto) {
|
|
|
+ log.info("StoreInfoController.manualReview?storeInfoDto={}", storeInfoDto);
|
|
|
+ try {
|
|
|
+ boolean success = storeInfoService.manualReview(storeInfoDto);
|
|
|
+ if (success) {
|
|
|
+ return R.success("人工复核保存成功");
|
|
|
+ }
|
|
|
+ return R.fail("人工复核保存失败");
|
|
|
+ } catch (IllegalArgumentException e) {
|
|
|
+ return R.fail(e.getMessage());
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("StoreInfoController.manualReview ERROR", e);
|
|
|
+ return R.fail("人工复核失败");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "中台web端获取店铺明细详情")
|
|
|
@ApiOperationSupport(order = 21)
|
|
|
@GetMapping("/getNewStoreDetail")
|
|
|
@@ -1110,7 +1133,9 @@ public class StoreInfoController {
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页码", dataType = "int", paramType = "query", required = true),
|
|
|
@ApiImplicitParam(name = "pageSize", value = "页容", dataType = "int", paramType = "query", required = true),
|
|
|
@ApiImplicitParam(name = "storeName", value = "门店名称", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "storeContact", value = "联系人", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "storeTel", value = "门店电话", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "businessSection", value = "经营板块", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "imgType", value = "证照图片类型(14:营业执照;24/25:食品经营许可证;31/32:娱乐经营许可证)", dataType = "int", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "states", value = "证照状态", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "startSubmitDate", value = "提交开始时间(yyyy-MM-dd HH:mm:ss)", dataType = "String", paramType = "query"),
|
|
|
@@ -1120,14 +1145,16 @@ public class StoreInfoController {
|
|
|
@RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
|
|
|
@RequestParam(value = "pageSize", defaultValue = "10") int pageSize,
|
|
|
@RequestParam(value = "storeName", required = false) String storeName,
|
|
|
+ @RequestParam(value = "storeContact", required = false) String storeContact,
|
|
|
@RequestParam(value = "storeTel", required = false) String storeTel,
|
|
|
+ @RequestParam(value = "businessSection", required = false) String businessSection,
|
|
|
@RequestParam(value = "imgType", required = false) Integer imgType,
|
|
|
@RequestParam(value = "states", required = false) String states,
|
|
|
@RequestParam(value = "startSubmitDate", required = false) String startSubmitDate,
|
|
|
@RequestParam(value = "endSubmitDate", required = false) String endSubmitDate) {
|
|
|
- log.info("StoreInfoController.getStoreLicenseList?pageNum={},pageSize={},storeName={},storeTel={},imgType={},states={},startSubmitDate={},endSubmitDate={}",
|
|
|
- pageNum, pageSize, storeName, storeTel, imgType, states, startSubmitDate, endSubmitDate);
|
|
|
- IPage<StoreLicenseInfoVo> page = storeInfoService.getStoreLicenseList(pageNum, pageSize, storeName, storeTel, imgType, states, startSubmitDate, endSubmitDate);
|
|
|
+ log.info("StoreInfoController.getStoreLicenseList?pageNum={},pageSize={},storeName={},storeContact={},storeTel={},businessSection={},imgType={},states={},startSubmitDate={},endSubmitDate={}",
|
|
|
+ pageNum, pageSize, storeName, storeContact, storeTel, businessSection, imgType, states, startSubmitDate, endSubmitDate);
|
|
|
+ IPage<StoreLicenseInfoVo> page = storeInfoService.getStoreLicenseList(pageNum, pageSize, storeName, storeContact, storeTel, businessSection, imgType, states, startSubmitDate, endSubmitDate);
|
|
|
return R.data(page);
|
|
|
}
|
|
|
|