Procházet zdrojové kódy

Merge remote-tracking branch 'origin/master'

release_toaliyun_real
masterspirit před 7 roky
rodič
revize
45d13ac9af
95 změnil soubory, kde provedl 2079 přidání a 483 odebrání
  1. +4
    -0
      .gitignore
  2. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxAppinfoController.java
  3. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxBLogController.java
  4. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxBUserMerchantController.java
  5. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxBannersController.java
  6. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxBusinessController.java
  7. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxCLogController.java
  8. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxCUserCarsController.java
  9. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxCUserCloudController.java
  10. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxCUserController.java
  11. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxCUserEtcpTokenController.java
  12. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxCUserTagsController.java
  13. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxCouponActionLogController.java
  14. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxCouponActivityController.java
  15. +10
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxCouponController.java
  16. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxCouponRecordController.java
  17. +10
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxCouponTypeController.java
  18. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxEtcpCouponRecordController.java
  19. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkDissolutionController.java
  20. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkInController.java
  21. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkMsgSucController.java
  22. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkOrderunpayController.java
  23. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkOutController.java
  24. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkTransactionController.java
  25. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkUnbindController.java
  26. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxFlashSaleController.java
  27. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxImgUrlController.java
  28. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxMallBuildingController.java
  29. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxMallController.java
  30. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxMallFloorController.java
  31. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxMerchantController.java
  32. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxMerchantEtcpController.java
  33. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxMerchantShopController.java
  34. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxMerchantTradeDaysController.java
  35. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxMsgConfigController.java
  36. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxMsgController.java
  37. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxMsgModelController.java
  38. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxMsgSignatureController.java
  39. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxOrdersController.java
  40. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxParkController.java
  41. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxParkEtcpController.java
  42. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxScoreHistoryController.java
  43. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxScoreRulesController.java
  44. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxScoreValidityPeriodController.java
  45. +7
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxShopController.java
  46. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxTagsController.java
  47. +7
    -1
      mallinkAdmin/src/main/java/com/simple/controller/WxWebLogController.java
  48. +1
    -0
      mallinkAdmin/src/main/resources/application-dev.yml
  49. +1
    -0
      mallinkAdmin/src/main/resources/application-prod.yml
  50. +51
    -11
      mallinkService/src/main/resources/mapper/WxAppinfoMapper.xml
  51. +21
    -5
      mallinkService/src/main/resources/mapper/WxBLogMapper.xml
  52. +23
    -7
      mallinkService/src/main/resources/mapper/WxBUserMerchantMapper.xml
  53. +51
    -11
      mallinkService/src/main/resources/mapper/WxBannersMapper.xml
  54. +16
    -4
      mallinkService/src/main/resources/mapper/WxBusinessMapper.xml
  55. +21
    -5
      mallinkService/src/main/resources/mapper/WxCLogMapper.xml
  56. +22
    -6
      mallinkService/src/main/resources/mapper/WxCUserCarsMapper.xml
  57. +22
    -6
      mallinkService/src/main/resources/mapper/WxCUserCloudMapper.xml
  58. +32
    -8
      mallinkService/src/main/resources/mapper/WxCUserEtcpTokenMapper.xml
  59. +106
    -22
      mallinkService/src/main/resources/mapper/WxCUserMapper.xml
  60. +22
    -6
      mallinkService/src/main/resources/mapper/WxCUserTagsMapper.xml
  61. +33
    -9
      mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml
  62. +117
    -25
      mallinkService/src/main/resources/mapper/WxCouponActivityMapper.xml
  63. +83
    -19
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml
  64. +60
    -16
      mallinkService/src/main/resources/mapper/WxCouponRecordMapper.xml
  65. +11
    -3
      mallinkService/src/main/resources/mapper/WxCouponTypeMapper.xml
  66. +57
    -13
      mallinkService/src/main/resources/mapper/WxEtcpCouponRecordMapper.xml
  67. +16
    -4
      mallinkService/src/main/resources/mapper/WxEtcpParkDissolutionMapper.xml
  68. +26
    -6
      mallinkService/src/main/resources/mapper/WxEtcpParkInMapper.xml
  69. +16
    -4
      mallinkService/src/main/resources/mapper/WxEtcpParkMsgSucMapper.xml
  70. +101
    -21
      mallinkService/src/main/resources/mapper/WxEtcpParkOrderunpayMapper.xml
  71. +26
    -6
      mallinkService/src/main/resources/mapper/WxEtcpParkOutMapper.xml
  72. +61
    -13
      mallinkService/src/main/resources/mapper/WxEtcpParkTransactionMapper.xml
  73. +16
    -4
      mallinkService/src/main/resources/mapper/WxEtcpParkUnbindMapper.xml
  74. +32
    -8
      mallinkService/src/main/resources/mapper/WxFlashSaleMapper.xml
  75. +15
    -3
      mallinkService/src/main/resources/mapper/WxImgUrlMapper.xml
  76. +27
    -7
      mallinkService/src/main/resources/mapper/WxMallBuildingMapper.xml
  77. +28
    -8
      mallinkService/src/main/resources/mapper/WxMallFloorMapper.xml
  78. +66
    -14
      mallinkService/src/main/resources/mapper/WxMallMapper.xml
  79. +15
    -3
      mallinkService/src/main/resources/mapper/WxMerchantEtcpMapper.xml
  80. +41
    -9
      mallinkService/src/main/resources/mapper/WxMerchantMapper.xml
  81. +23
    -7
      mallinkService/src/main/resources/mapper/WxMerchantShopMapper.xml
  82. +27
    -7
      mallinkService/src/main/resources/mapper/WxMerchantTradeDaysMapper.xml
  83. +65
    -17
      mallinkService/src/main/resources/mapper/WxMsgConfigMapper.xml
  84. +57
    -13
      mallinkService/src/main/resources/mapper/WxMsgMapper.xml
  85. +36
    -8
      mallinkService/src/main/resources/mapper/WxMsgModelMapper.xml
  86. +21
    -5
      mallinkService/src/main/resources/mapper/WxMsgSignatureMapper.xml
  87. +43
    -11
      mallinkService/src/main/resources/mapper/WxOrdersMapper.xml
  88. +15
    -3
      mallinkService/src/main/resources/mapper/WxParkEtcpMapper.xml
  89. +31
    -7
      mallinkService/src/main/resources/mapper/WxParkMapper.xml
  90. +48
    -12
      mallinkService/src/main/resources/mapper/WxScoreHistoryMapper.xml
  91. +21
    -5
      mallinkService/src/main/resources/mapper/WxScoreRulesMapper.xml
  92. +16
    -4
      mallinkService/src/main/resources/mapper/WxScoreValidityPeriodMapper.xml
  93. +61
    -13
      mallinkService/src/main/resources/mapper/WxShopMapper.xml
  94. +26
    -6
      mallinkService/src/main/resources/mapper/WxTagsMapper.xml
  95. +21
    -5
      mallinkService/src/main/resources/mapper/WxWebLogMapper.xml

+ 4
- 0
.gitignore Zobrazit soubor

@@ -0,0 +1,4 @@
.idea/**
mallinkAdmin/target/**
mallinkApi/target/**
mallinkService/target/**

+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxAppinfoController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxAppinfo;
import com.simple.service.WxAppinfoService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxAppinfo")
@Api(description="小程序配置接口")
public class WxAppinfoController extends BaseController
{
@Autowired
private WxAppinfoService wxAppinfoService;

private Logger logger = Logger.getLogger(WxAppinfoController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxAppinfoController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxAppinfo wxAppinfo) {
//Assert.notNull(wxAppinfo.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxAppinfoController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxAppinfo wxAppinfo) {
wxAppinfoService.saveOrUpdate(wxAppinfo);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxAppinfoController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxBLogController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxBLog;
import com.simple.service.WxBLogService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxBLog")
@Api(description="B端log接口")
public class WxBLogController extends BaseController
{
@Autowired
private WxBLogService wxBLogService;

private Logger logger = Logger.getLogger(WxBLogController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxBLogController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxBLog wxBLog) {
//Assert.notNull(wxBLog.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxBLogController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxBLog wxBLog) {
wxBLogService.saveOrUpdate(wxBLog);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxBLogController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxBUserMerchantController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxBUserMerchant;
import com.simple.service.WxBUserMerchantService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxBUserMerchant")
@@ -22,7 +23,8 @@ public class WxBUserMerchantController extends BaseController
private WxBUserMerchantService wxBUserMerchantService;

private Logger logger = Logger.getLogger(WxBUserMerchantController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxBUserMerchantController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxBUserMerchant wxBUserMerchant) {
//Assert.notNull(wxBUserMerchant.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxBUserMerchantController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxBUserMerchant wxBUserMerchant) {
wxBUserMerchantService.saveOrUpdate(wxBUserMerchant);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxBUserMerchantController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxBannersController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxBanners;
import com.simple.service.WxBannersService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxBanners")
@Api(description="banner相关接口")
public class WxBannersController extends BaseController
{
@Autowired
private WxBannersService wxBannersService;

private Logger logger = Logger.getLogger(WxBannersController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxBannersController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxBanners wxBanners) {
//Assert.notNull(wxBanners.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxBannersController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxBanners wxBanners) {
wxBannersService.saveOrUpdate(wxBanners);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxBannersController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxBusinessController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxBusiness;
import com.simple.service.WxBusinessService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxBusiness")
@@ -22,7 +23,8 @@ public class WxBusinessController extends BaseController
private WxBusinessService wxBusinessService;

private Logger logger = Logger.getLogger(WxBusinessController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxBusinessController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxBusiness wxBusiness) {
//Assert.notNull(wxBusiness.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxBusinessController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxBusiness wxBusiness) {
wxBusinessService.saveOrUpdate(wxBusiness);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxBusinessController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxCLogController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxCLog;
import com.simple.service.WxCLogService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCLog")
@Api(description="C端log接口")
public class WxCLogController extends BaseController
{
@Autowired
private WxCLogService wxCLogService;

private Logger logger = Logger.getLogger(WxCLogController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxCLogController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCLog wxCLog) {
//Assert.notNull(wxCLog.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxCLogController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCLog wxCLog) {
wxCLogService.saveOrUpdate(wxCLog);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxCLogController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxCUserCarsController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxCUserCars;
import com.simple.service.WxCUserCarsService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCUserCars")
@@ -22,7 +23,8 @@ public class WxCUserCarsController extends BaseController
private WxCUserCarsService wxCUserCarsService;

private Logger logger = Logger.getLogger(WxCUserCarsController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxCUserCarsController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCUserCars wxCUserCars) {
//Assert.notNull(wxCUserCars.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxCUserCarsController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCUserCars wxCUserCars) {
wxCUserCarsService.saveOrUpdate(wxCUserCars);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxCUserCarsController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxCUserCloudController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxCUserCloud;
import com.simple.service.WxCUserCloudService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCUserCloud")
@@ -22,7 +23,8 @@ public class WxCUserCloudController extends BaseController
private WxCUserCloudService wxCUserCloudService;

private Logger logger = Logger.getLogger(WxCUserCloudController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxCUserCloudController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCUserCloud wxCUserCloud) {
//Assert.notNull(wxCUserCloud.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxCUserCloudController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCUserCloud wxCUserCloud) {
wxCUserCloudService.saveOrUpdate(wxCUserCloud);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxCUserCloudController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxCUserController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxCUser;
import com.simple.service.WxCUserService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCUser")
@@ -22,7 +23,8 @@ public class WxCUserController extends BaseController
private WxCUserService wxCUserService;

private Logger logger = Logger.getLogger(WxCUserController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxCUserController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCUser wxCUser) {
//Assert.notNull(wxCUser.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxCUserController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCUser wxCUser) {
wxCUserService.saveOrUpdate(wxCUser);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxCUserController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxCUserEtcpTokenController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxCUserEtcpToken;
import com.simple.service.WxCUserEtcpTokenService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCUserEtcpToken")
@@ -22,7 +23,8 @@ public class WxCUserEtcpTokenController extends BaseController
private WxCUserEtcpTokenService wxCUserEtcpTokenService;

private Logger logger = Logger.getLogger(WxCUserEtcpTokenController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxCUserEtcpTokenController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCUserEtcpToken wxCUserEtcpToken) {
//Assert.notNull(wxCUserEtcpToken.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxCUserEtcpTokenController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCUserEtcpToken wxCUserEtcpToken) {
wxCUserEtcpTokenService.saveOrUpdate(wxCUserEtcpToken);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxCUserEtcpTokenController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxCUserTagsController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxCUserTags;
import com.simple.service.WxCUserTagsService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCUserTags")
@@ -22,7 +23,8 @@ public class WxCUserTagsController extends BaseController
private WxCUserTagsService wxCUserTagsService;

private Logger logger = Logger.getLogger(WxCUserTagsController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxCUserTagsController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCUserTags wxCUserTags) {
//Assert.notNull(wxCUserTags.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxCUserTagsController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCUserTags wxCUserTags) {
wxCUserTagsService.saveOrUpdate(wxCUserTags);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxCUserTagsController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxCouponActionLogController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxCouponActionLog;
import com.simple.service.WxCouponActionLogService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCouponActionLog")
@@ -22,7 +23,8 @@ public class WxCouponActionLogController extends BaseController
private WxCouponActionLogService wxCouponActionLogService;

private Logger logger = Logger.getLogger(WxCouponActionLogController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxCouponActionLogController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCouponActionLog wxCouponActionLog) {
//Assert.notNull(wxCouponActionLog.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxCouponActionLogController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCouponActionLog wxCouponActionLog) {
wxCouponActionLogService.saveOrUpdate(wxCouponActionLog);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxCouponActionLogController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxCouponActivityController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxCouponActivity;
import com.simple.service.WxCouponActivityService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCouponActivity")
@Api(description="卡券详情接口")
public class WxCouponActivityController extends BaseController
{
@Autowired
private WxCouponActivityService wxCouponActivityService;

private Logger logger = Logger.getLogger(WxCouponActivityController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxCouponActivityController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCouponActivity wxCouponActivity) {
//Assert.notNull(wxCouponActivity.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxCouponActivityController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCouponActivity wxCouponActivity) {
wxCouponActivityService.saveOrUpdate(wxCouponActivity);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxCouponActivityController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 10
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxCouponController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -12,19 +11,23 @@ import com.simple.common.ResultData;

import com.simple.domain.po.WxCoupon;
import com.simple.service.WxCouponService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCoupon")
@Api(description="卡券接口")
@Api(description="优惠券相关接口")
public class WxCouponController extends BaseController
{
@Autowired
private WxCouponService wxCouponService;

private Logger logger = Logger.getLogger(WxCouponController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +38,7 @@ public class WxCouponController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCoupon wxCoupon) {
//Assert.notNull(wxCoupon.getName(), "角色名不能为空");
@@ -43,12 +47,14 @@ public class WxCouponController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCoupon wxCoupon) {
wxCouponService.saveOrUpdate(wxCoupon);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +62,7 @@ public class WxCouponController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxCouponRecordController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxCouponRecord;
import com.simple.service.WxCouponRecordService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCouponRecord")
@Api(description="卡券使用记录接口")
public class WxCouponRecordController extends BaseController
{
@Autowired
private WxCouponRecordService wxCouponRecordService;

private Logger logger = Logger.getLogger(WxCouponRecordController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxCouponRecordController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCouponRecord wxCouponRecord) {
//Assert.notNull(wxCouponRecord.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxCouponRecordController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCouponRecord wxCouponRecord) {
wxCouponRecordService.saveOrUpdate(wxCouponRecord);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxCouponRecordController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 10
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxCouponTypeController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -12,19 +11,23 @@ import com.simple.common.ResultData;

import com.simple.domain.po.WxCouponType;
import com.simple.service.WxCouponTypeService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxCouponType")
@Api(description="卡券类型接口")
@Api(description="优惠券类型相关接口")
public class WxCouponTypeController extends BaseController
{
@Autowired
private WxCouponTypeService wxCouponTypeService;

private Logger logger = Logger.getLogger(WxCouponTypeController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +38,7 @@ public class WxCouponTypeController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCouponType wxCouponType) {
//Assert.notNull(wxCouponType.getName(), "角色名不能为空");
@@ -43,12 +47,14 @@ public class WxCouponTypeController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxCouponType wxCouponType) {
wxCouponTypeService.saveOrUpdate(wxCouponType);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +62,7 @@ public class WxCouponTypeController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxEtcpCouponRecordController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxEtcpCouponRecord;
import com.simple.service.WxEtcpCouponRecordService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxEtcpCouponRecord")
@@ -22,7 +23,8 @@ public class WxEtcpCouponRecordController extends BaseController
private WxEtcpCouponRecordService wxEtcpCouponRecordService;

private Logger logger = Logger.getLogger(WxEtcpCouponRecordController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxEtcpCouponRecordController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxEtcpCouponRecord wxEtcpCouponRecord) {
//Assert.notNull(wxEtcpCouponRecord.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxEtcpCouponRecordController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxEtcpCouponRecord wxEtcpCouponRecord) {
wxEtcpCouponRecordService.saveOrUpdate(wxEtcpCouponRecord);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxEtcpCouponRecordController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkDissolutionController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxEtcpParkDissolution;
import com.simple.service.WxEtcpParkDissolutionService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxEtcpParkDissolution")
@@ -22,7 +23,8 @@ public class WxEtcpParkDissolutionController extends BaseController
private WxEtcpParkDissolutionService wxEtcpParkDissolutionService;

private Logger logger = Logger.getLogger(WxEtcpParkDissolutionController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxEtcpParkDissolutionController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxEtcpParkDissolution wxEtcpParkDissolution) {
//Assert.notNull(wxEtcpParkDissolution.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxEtcpParkDissolutionController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxEtcpParkDissolution wxEtcpParkDissolution) {
wxEtcpParkDissolutionService.saveOrUpdate(wxEtcpParkDissolution);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxEtcpParkDissolutionController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkInController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxEtcpParkIn;
import com.simple.service.WxEtcpParkInService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxEtcpParkIn")
@@ -22,7 +23,8 @@ public class WxEtcpParkInController extends BaseController
private WxEtcpParkInService wxEtcpParkInService;

private Logger logger = Logger.getLogger(WxEtcpParkInController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxEtcpParkInController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxEtcpParkIn wxEtcpParkIn) {
//Assert.notNull(wxEtcpParkIn.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxEtcpParkInController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxEtcpParkIn wxEtcpParkIn) {
wxEtcpParkInService.saveOrUpdate(wxEtcpParkIn);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxEtcpParkInController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkMsgSucController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxEtcpParkMsgSuc;
import com.simple.service.WxEtcpParkMsgSucService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxEtcpParkMsgSuc")
@@ -22,7 +23,8 @@ public class WxEtcpParkMsgSucController extends BaseController
private WxEtcpParkMsgSucService wxEtcpParkMsgSucService;

private Logger logger = Logger.getLogger(WxEtcpParkMsgSucController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxEtcpParkMsgSucController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxEtcpParkMsgSuc wxEtcpParkMsgSuc) {
//Assert.notNull(wxEtcpParkMsgSuc.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxEtcpParkMsgSucController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxEtcpParkMsgSuc wxEtcpParkMsgSuc) {
wxEtcpParkMsgSucService.saveOrUpdate(wxEtcpParkMsgSuc);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxEtcpParkMsgSucController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkOrderunpayController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxEtcpParkOrderunpay;
import com.simple.service.WxEtcpParkOrderunpayService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxEtcpParkOrderunpay")
@@ -22,7 +23,8 @@ public class WxEtcpParkOrderunpayController extends BaseController
private WxEtcpParkOrderunpayService wxEtcpParkOrderunpayService;

private Logger logger = Logger.getLogger(WxEtcpParkOrderunpayController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxEtcpParkOrderunpayController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxEtcpParkOrderunpay wxEtcpParkOrderunpay) {
//Assert.notNull(wxEtcpParkOrderunpay.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxEtcpParkOrderunpayController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxEtcpParkOrderunpay wxEtcpParkOrderunpay) {
wxEtcpParkOrderunpayService.saveOrUpdate(wxEtcpParkOrderunpay);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxEtcpParkOrderunpayController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkOutController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxEtcpParkOut;
import com.simple.service.WxEtcpParkOutService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxEtcpParkOut")
@@ -22,7 +23,8 @@ public class WxEtcpParkOutController extends BaseController
private WxEtcpParkOutService wxEtcpParkOutService;

private Logger logger = Logger.getLogger(WxEtcpParkOutController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxEtcpParkOutController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxEtcpParkOut wxEtcpParkOut) {
//Assert.notNull(wxEtcpParkOut.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxEtcpParkOutController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxEtcpParkOut wxEtcpParkOut) {
wxEtcpParkOutService.saveOrUpdate(wxEtcpParkOut);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxEtcpParkOutController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkTransactionController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxEtcpParkTransaction;
import com.simple.service.WxEtcpParkTransactionService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxEtcpParkTransaction")
@@ -22,7 +23,8 @@ public class WxEtcpParkTransactionController extends BaseController
private WxEtcpParkTransactionService wxEtcpParkTransactionService;

private Logger logger = Logger.getLogger(WxEtcpParkTransactionController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxEtcpParkTransactionController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxEtcpParkTransaction wxEtcpParkTransaction) {
//Assert.notNull(wxEtcpParkTransaction.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxEtcpParkTransactionController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxEtcpParkTransaction wxEtcpParkTransaction) {
wxEtcpParkTransactionService.saveOrUpdate(wxEtcpParkTransaction);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxEtcpParkTransactionController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxEtcpParkUnbindController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxEtcpParkUnbind;
import com.simple.service.WxEtcpParkUnbindService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxEtcpParkUnbind")
@@ -22,7 +23,8 @@ public class WxEtcpParkUnbindController extends BaseController
private WxEtcpParkUnbindService wxEtcpParkUnbindService;

private Logger logger = Logger.getLogger(WxEtcpParkUnbindController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxEtcpParkUnbindController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxEtcpParkUnbind wxEtcpParkUnbind) {
//Assert.notNull(wxEtcpParkUnbind.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxEtcpParkUnbindController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxEtcpParkUnbind wxEtcpParkUnbind) {
wxEtcpParkUnbindService.saveOrUpdate(wxEtcpParkUnbind);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxEtcpParkUnbindController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxFlashSaleController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxFlashSale;
import com.simple.service.WxFlashSaleService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxFlashSale")
@@ -22,7 +23,8 @@ public class WxFlashSaleController extends BaseController
private WxFlashSaleService wxFlashSaleService;

private Logger logger = Logger.getLogger(WxFlashSaleController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxFlashSaleController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxFlashSale wxFlashSale) {
//Assert.notNull(wxFlashSale.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxFlashSaleController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxFlashSale wxFlashSale) {
wxFlashSaleService.saveOrUpdate(wxFlashSale);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxFlashSaleController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxImgUrlController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxImgUrl;
import com.simple.service.WxImgUrlService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxImgUrl")
@@ -22,7 +23,8 @@ public class WxImgUrlController extends BaseController
private WxImgUrlService wxImgUrlService;

private Logger logger = Logger.getLogger(WxImgUrlController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxImgUrlController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxImgUrl wxImgUrl) {
//Assert.notNull(wxImgUrl.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxImgUrlController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxImgUrl wxImgUrl) {
wxImgUrlService.saveOrUpdate(wxImgUrl);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxImgUrlController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxMallBuildingController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxMallBuilding;
import com.simple.service.WxMallBuildingService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMallBuilding")
@@ -22,7 +23,8 @@ public class WxMallBuildingController extends BaseController
private WxMallBuildingService wxMallBuildingService;

private Logger logger = Logger.getLogger(WxMallBuildingController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxMallBuildingController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMallBuilding wxMallBuilding) {
//Assert.notNull(wxMallBuilding.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxMallBuildingController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMallBuilding wxMallBuilding) {
wxMallBuildingService.saveOrUpdate(wxMallBuilding);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxMallBuildingController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxMallController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxMall;
import com.simple.service.WxMallService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMall")
@Api(description="商场信息接口")
public class WxMallController extends BaseController
{
@Autowired
private WxMallService wxMallService;

private Logger logger = Logger.getLogger(WxMallController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxMallController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMall wxMall) {
//Assert.notNull(wxMall.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxMallController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMall wxMall) {
wxMallService.saveOrUpdate(wxMall);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxMallController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxMallFloorController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxMallFloor;
import com.simple.service.WxMallFloorService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMallFloor")
@@ -22,7 +23,8 @@ public class WxMallFloorController extends BaseController
private WxMallFloorService wxMallFloorService;

private Logger logger = Logger.getLogger(WxMallFloorController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxMallFloorController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMallFloor wxMallFloor) {
//Assert.notNull(wxMallFloor.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxMallFloorController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMallFloor wxMallFloor) {
wxMallFloorService.saveOrUpdate(wxMallFloor);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxMallFloorController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxMerchantController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxMerchant;
import com.simple.service.WxMerchantService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMerchant")
@Api(description="商户相关接口")
public class WxMerchantController extends BaseController
{
@Autowired
private WxMerchantService wxMerchantService;

private Logger logger = Logger.getLogger(WxMerchantController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxMerchantController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMerchant wxMerchant) {
//Assert.notNull(wxMerchant.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxMerchantController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMerchant wxMerchant) {
wxMerchantService.saveOrUpdate(wxMerchant);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxMerchantController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxMerchantEtcpController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxMerchantEtcp;
import com.simple.service.WxMerchantEtcpService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMerchantEtcp")
@@ -22,7 +23,8 @@ public class WxMerchantEtcpController extends BaseController
private WxMerchantEtcpService wxMerchantEtcpService;

private Logger logger = Logger.getLogger(WxMerchantEtcpController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxMerchantEtcpController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMerchantEtcp wxMerchantEtcp) {
//Assert.notNull(wxMerchantEtcp.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxMerchantEtcpController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMerchantEtcp wxMerchantEtcp) {
wxMerchantEtcpService.saveOrUpdate(wxMerchantEtcp);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxMerchantEtcpController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxMerchantShopController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxMerchantShop;
import com.simple.service.WxMerchantShopService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMerchantShop")
@Api(description="商户店铺接口")
public class WxMerchantShopController extends BaseController
{
@Autowired
private WxMerchantShopService wxMerchantShopService;

private Logger logger = Logger.getLogger(WxMerchantShopController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxMerchantShopController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMerchantShop wxMerchantShop) {
//Assert.notNull(wxMerchantShop.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxMerchantShopController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMerchantShop wxMerchantShop) {
wxMerchantShopService.saveOrUpdate(wxMerchantShop);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxMerchantShopController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxMerchantTradeDaysController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxMerchantTradeDays;
import com.simple.service.WxMerchantTradeDaysService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMerchantTradeDays")
@Api(description="商户日结单额接口")
public class WxMerchantTradeDaysController extends BaseController
{
@Autowired
private WxMerchantTradeDaysService wxMerchantTradeDaysService;

private Logger logger = Logger.getLogger(WxMerchantTradeDaysController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxMerchantTradeDaysController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMerchantTradeDays wxMerchantTradeDays) {
//Assert.notNull(wxMerchantTradeDays.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxMerchantTradeDaysController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMerchantTradeDays wxMerchantTradeDays) {
wxMerchantTradeDaysService.saveOrUpdate(wxMerchantTradeDays);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxMerchantTradeDaysController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxMsgConfigController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxMsgConfig;
import com.simple.service.WxMsgConfigService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMsgConfig")
@@ -22,7 +23,8 @@ public class WxMsgConfigController extends BaseController
private WxMsgConfigService wxMsgConfigService;

private Logger logger = Logger.getLogger(WxMsgConfigController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxMsgConfigController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMsgConfig wxMsgConfig) {
//Assert.notNull(wxMsgConfig.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxMsgConfigController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMsgConfig wxMsgConfig) {
wxMsgConfigService.saveOrUpdate(wxMsgConfig);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxMsgConfigController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxMsgController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxMsg;
import com.simple.service.WxMsgService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMsg")
@@ -22,7 +23,8 @@ public class WxMsgController extends BaseController
private WxMsgService wxMsgService;

private Logger logger = Logger.getLogger(WxMsgController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxMsgController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMsg wxMsg) {
//Assert.notNull(wxMsg.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxMsgController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMsg wxMsg) {
wxMsgService.saveOrUpdate(wxMsg);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxMsgController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxMsgModelController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxMsgModel;
import com.simple.service.WxMsgModelService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMsgModel")
@@ -22,7 +23,8 @@ public class WxMsgModelController extends BaseController
private WxMsgModelService wxMsgModelService;

private Logger logger = Logger.getLogger(WxMsgModelController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxMsgModelController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMsgModel wxMsgModel) {
//Assert.notNull(wxMsgModel.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxMsgModelController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMsgModel wxMsgModel) {
wxMsgModelService.saveOrUpdate(wxMsgModel);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxMsgModelController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxMsgSignatureController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxMsgSignature;
import com.simple.service.WxMsgSignatureService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxMsgSignature")
@@ -22,7 +23,8 @@ public class WxMsgSignatureController extends BaseController
private WxMsgSignatureService wxMsgSignatureService;

private Logger logger = Logger.getLogger(WxMsgSignatureController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxMsgSignatureController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxMsgSignature wxMsgSignature) {
//Assert.notNull(wxMsgSignature.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxMsgSignatureController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxMsgSignature wxMsgSignature) {
wxMsgSignatureService.saveOrUpdate(wxMsgSignature);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxMsgSignatureController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxOrdersController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxOrders;
import com.simple.service.WxOrdersService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxOrders")
@Api(description="卡卷订单接口")
public class WxOrdersController extends BaseController
{
@Autowired
private WxOrdersService wxOrdersService;

private Logger logger = Logger.getLogger(WxOrdersController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxOrdersController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxOrders wxOrders) {
//Assert.notNull(wxOrders.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxOrdersController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxOrders wxOrders) {
wxOrdersService.saveOrUpdate(wxOrders);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxOrdersController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxParkController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxPark;
import com.simple.service.WxParkService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxPark")
@@ -22,7 +23,8 @@ public class WxParkController extends BaseController
private WxParkService wxParkService;

private Logger logger = Logger.getLogger(WxParkController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxParkController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxPark wxPark) {
//Assert.notNull(wxPark.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxParkController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxPark wxPark) {
wxParkService.saveOrUpdate(wxPark);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxParkController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxParkEtcpController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxParkEtcp;
import com.simple.service.WxParkEtcpService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxParkEtcp")
@@ -22,7 +23,8 @@ public class WxParkEtcpController extends BaseController
private WxParkEtcpService wxParkEtcpService;

private Logger logger = Logger.getLogger(WxParkEtcpController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxParkEtcpController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxParkEtcp wxParkEtcp) {
//Assert.notNull(wxParkEtcp.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxParkEtcpController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxParkEtcp wxParkEtcp) {
wxParkEtcpService.saveOrUpdate(wxParkEtcp);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxParkEtcpController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxScoreHistoryController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxScoreHistory;
import com.simple.service.WxScoreHistoryService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxScoreHistory")
@@ -22,7 +23,8 @@ public class WxScoreHistoryController extends BaseController
private WxScoreHistoryService wxScoreHistoryService;

private Logger logger = Logger.getLogger(WxScoreHistoryController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxScoreHistoryController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxScoreHistory wxScoreHistory) {
//Assert.notNull(wxScoreHistory.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxScoreHistoryController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxScoreHistory wxScoreHistory) {
wxScoreHistoryService.saveOrUpdate(wxScoreHistory);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxScoreHistoryController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxScoreRulesController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxScoreRules;
import com.simple.service.WxScoreRulesService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxScoreRules")
@@ -22,7 +23,8 @@ public class WxScoreRulesController extends BaseController
private WxScoreRulesService wxScoreRulesService;

private Logger logger = Logger.getLogger(WxScoreRulesController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxScoreRulesController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxScoreRules wxScoreRules) {
//Assert.notNull(wxScoreRules.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxScoreRulesController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxScoreRules wxScoreRules) {
wxScoreRulesService.saveOrUpdate(wxScoreRules);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxScoreRulesController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxScoreValidityPeriodController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxScoreValidityPeriod;
import com.simple.service.WxScoreValidityPeriodService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxScoreValidityPeriod")
@@ -22,7 +23,8 @@ public class WxScoreValidityPeriodController extends BaseController
private WxScoreValidityPeriodService wxScoreValidityPeriodService;

private Logger logger = Logger.getLogger(WxScoreValidityPeriodController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxScoreValidityPeriodController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxScoreValidityPeriod wxScoreValidityPeriod) {
//Assert.notNull(wxScoreValidityPeriod.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxScoreValidityPeriodController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxScoreValidityPeriod wxScoreValidityPeriod) {
wxScoreValidityPeriodService.saveOrUpdate(wxScoreValidityPeriod);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxScoreValidityPeriodController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxShopController.java Zobrazit soubor

@@ -1,6 +1,5 @@
package com.simple.controller;

import io.swagger.annotations.Api;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
@@ -14,17 +13,18 @@ import com.simple.domain.po.WxShop;
import com.simple.service.WxShopService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxShop")
@Api(description="店铺接口")
public class WxShopController extends BaseController
{
@Autowired
private WxShopService wxShopService;

private Logger logger = Logger.getLogger(WxShopController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -35,6 +35,7 @@ public class WxShopController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxShop wxShop) {
//Assert.notNull(wxShop.getName(), "角色名不能为空");
@@ -43,12 +44,14 @@ public class WxShopController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxShop wxShop) {
wxShopService.saveOrUpdate(wxShop);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -56,6 +59,7 @@ public class WxShopController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxTagsController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxTags;
import com.simple.service.WxTagsService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxTags")
@@ -22,7 +23,8 @@ public class WxTagsController extends BaseController
private WxTagsService wxTagsService;

private Logger logger = Logger.getLogger(WxTagsController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxTagsController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxTags wxTags) {
//Assert.notNull(wxTags.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxTagsController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxTags wxTags) {
wxTagsService.saveOrUpdate(wxTags);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxTagsController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 7
- 1
mallinkAdmin/src/main/java/com/simple/controller/WxWebLogController.java Zobrazit soubor

@@ -13,6 +13,7 @@ import com.simple.domain.po.WxWebLog;
import com.simple.service.WxWebLogService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("wxWebLog")
@@ -22,7 +23,8 @@ public class WxWebLogController extends BaseController
private WxWebLogService wxWebLogService;

private Logger logger = Logger.getLogger(WxWebLogController.class);

@ApiOperation("分页列表接口")
@GetMapping("list")
@ApiImplicitParams({
@ApiImplicitParam(name="pageNum",value="页数",dataType="int", paramType = "query",required=true),
@@ -33,6 +35,7 @@ public class WxWebLogController extends BaseController
return new ResultData(page);
}

@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxWebLog wxWebLog) {
//Assert.notNull(wxWebLog.getName(), "角色名不能为空");
@@ -41,12 +44,14 @@ public class WxWebLogController extends BaseController
return new ResultData();
}

@ApiOperation("根据id更新接口")
@PostMapping("update")
public ResultData update(@RequestBody WxWebLog wxWebLog) {
wxWebLogService.saveOrUpdate(wxWebLog);
return new ResultData();
}

@ApiOperation("根据id删除接口")
@GetMapping("/del")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData delete(Long id) {
@@ -54,6 +59,7 @@ public class WxWebLogController extends BaseController
return new ResultData(Result.SUCCESS, "删除成功", null);
}
@ApiOperation("根据id查询接口")
@GetMapping("/findById")
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true)
public ResultData findById(Long id) {


+ 1
- 0
mallinkAdmin/src/main/resources/application-dev.yml Zobrazit soubor

@@ -19,6 +19,7 @@ spring:
testOnReturn: false
poolPreparedStatements: true
maxOpenPreparedStatements: 20
connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
jackson:
date-format: yyyy-MM-dd HH:mm:ss



+ 1
- 0
mallinkAdmin/src/main/resources/application-prod.yml Zobrazit soubor

@@ -19,6 +19,7 @@ spring:
testOnReturn: false
poolPreparedStatements: true
maxOpenPreparedStatements: 20
connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
# REDIS
redis:
host: 127.0.0.1


+ 51
- 11
mallinkService/src/main/resources/mapper/WxAppinfoMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxAppinfoMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxAppinfo">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="appid" jdbcType="VARCHAR" property="appid" />
<result column="secret" jdbcType="VARCHAR" property="secret" />
@@ -20,16 +20,56 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != appid "> and `appid` = #{appid} </if>
<if test=" null != secret "> and `secret` = #{secret} </if>
<if test=" null != name "> and `name` = #{name} </if>
<if test=" null != token "> and `token` = #{token} </if>
<if test=" null != aeskey "> and `aeskey` = #{aeskey} </if>
<if test=" null != accessToken "> and `access_token` = #{accessToken} </if>
<if test=" null != lastTokenTime "> and `last_token_time` = #{lastTokenTime} </if>
<if test=" null != expiresIn "> and `expires_in` = #{expiresIn} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != appid ">
and `appid` like concat('%', #{appid},'%')
</if>
<if test=" null != secret ">
and `secret` like concat('%', #{secret},'%')
</if>
<if test=" null != name ">
and `name` like concat('%', #{name},'%')
</if>
<if test=" null != token ">
and `token` like concat('%', #{token},'%')
</if>
<if test=" null != aeskey ">
and `aeskey` like concat('%', #{aeskey},'%')
</if>
<if test=" null != accessToken ">
and `access_token` like concat('%', #{accessToken},'%')
</if>
<if test=" null != lastTokenTime ">
and `last_token_time` = #{lastTokenTime}
</if>
<if test=" null != expiresIn ">
and `expires_in` = #{expiresIn}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 21
- 5
mallinkService/src/main/resources/mapper/WxBLogMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxBLogMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxBLog">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="data" jdbcType="VARCHAR" property="data" />
<result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
@@ -14,10 +14,26 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != data "> and `data` = #{data} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != data ">
and `data` like concat('%', #{data},'%')
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 23
- 7
mallinkService/src/main/resources/mapper/WxBUserMerchantMapper.xml Zobrazit soubor

@@ -2,10 +2,10 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxBUserMerchantMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxBUserMerchant">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="b_user_id" jdbcType="INTEGER" property="bUserId" />
<result column="merchant_id" jdbcType="INTEGER" property="merchantId" />
<result column="b_user_id" jdbcType="BIGINT" property="bUserId" />
<result column="merchant_id" jdbcType="BIGINT" property="merchantId" />
</resultMap>
<sql id="allColumns">
@@ -14,10 +14,26 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != bUserId "> and `b_user_id` = #{bUserId} </if>
<if test=" null != merchantId "> and `merchant_id` = #{merchantId} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != bUserId ">
and `b_user_id` = #{bUserId}
</if>
<if test=" null != merchantId ">
and `merchant_id` = #{merchantId}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 51
- 11
mallinkService/src/main/resources/mapper/WxBannersMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxBannersMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxBanners">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="face_pic_url" jdbcType="VARCHAR" property="facePicUrl" />
<result column="activity_type" jdbcType="INTEGER" property="activityType" />
@@ -20,16 +20,56 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != facePicUrl "> and `face_pic_url` = #{facePicUrl} </if>
<if test=" null != activityType "> and `activity_type` = #{activityType} </if>
<if test=" null != url "> and `url` = #{url} </if>
<if test=" null != sortNum "> and `sort_num` = #{sortNum} </if>
<if test=" null != createtime "> and `createtime` = #{createtime} </if>
<if test=" null != uptime "> and `uptime` = #{uptime} </if>
<if test=" null != desc "> and `desc` = #{desc} </if>
<if test=" null != isEnable "> and `is_enable` = #{isEnable} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != facePicUrl ">
and `face_pic_url` like concat('%', #{facePicUrl},'%')
</if>
<if test=" null != activityType ">
and `activity_type` = #{activityType}
</if>
<if test=" null != url ">
and `url` like concat('%', #{url},'%')
</if>
<if test=" null != sortNum ">
and `sort_num` = #{sortNum}
</if>
<if test=" null != createtime ">
and `createtime` = #{createtime}
</if>
<if test=" null != uptime ">
and `uptime` = #{uptime}
</if>
<if test=" null != desc ">
and `desc` like concat('%', #{desc},'%')
</if>
<if test=" null != isEnable ">
and `is_enable` = #{isEnable}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 16
- 4
mallinkService/src/main/resources/mapper/WxBusinessMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxBusinessMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxBusiness">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="title" jdbcType="VARCHAR" property="title" />
</resultMap>
@@ -13,9 +13,21 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != title "> and `title` = #{title} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != title ">
and `title` like concat('%', #{title},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 21
- 5
mallinkService/src/main/resources/mapper/WxCLogMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCLogMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCLog">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="data" jdbcType="VARCHAR" property="data" />
<result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
@@ -14,10 +14,26 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != data "> and `data` = #{data} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != data ">
and `data` like concat('%', #{data},'%')
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 22
- 6
mallinkService/src/main/resources/mapper/WxCUserCarsMapper.xml Zobrazit soubor

@@ -2,9 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCUserCarsMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCUserCars">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="c_user_id" jdbcType="INTEGER" property="cUserId" />
<result column="c_user_id" jdbcType="BIGINT" property="cUserId" />
<result column="car_number" jdbcType="VARCHAR" property="carNumber" />
</resultMap>
@@ -14,10 +14,26 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != cUserId "> and `c_user_id` = #{cUserId} </if>
<if test=" null != carNumber "> and `car_number` = #{carNumber} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != cUserId ">
and `c_user_id` = #{cUserId}
</if>
<if test=" null != carNumber ">
and `car_number` like concat('%', #{carNumber},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 22
- 6
mallinkService/src/main/resources/mapper/WxCUserCloudMapper.xml Zobrazit soubor

@@ -2,9 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCUserCloudMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCUserCloud">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="c_user_id" jdbcType="INTEGER" property="cUserId" />
<result column="c_user_id" jdbcType="BIGINT" property="cUserId" />
<result column="cloud_data" jdbcType="VARCHAR" property="cloudData" />
</resultMap>
@@ -14,10 +14,26 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != cUserId "> and `c_user_id` = #{cUserId} </if>
<if test=" null != cloudData "> and `cloud_data` = #{cloudData} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != cUserId ">
and `c_user_id` = #{cUserId}
</if>
<if test=" null != cloudData ">
and `cloud_data` like concat('%', #{cloudData},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 32
- 8
mallinkService/src/main/resources/mapper/WxCUserEtcpTokenMapper.xml Zobrazit soubor

@@ -2,9 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCUserEtcpTokenMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCUserEtcpToken">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="c_user_id" jdbcType="INTEGER" property="cUserId" />
<result column="c_user_id" jdbcType="BIGINT" property="cUserId" />
<result column="etcp_token" jdbcType="VARCHAR" property="etcpToken" />
<result column="etcp_create_time" jdbcType="TIMESTAMP" property="etcpCreateTime" />
<result column="etcp_update_time" jdbcType="TIMESTAMP" property="etcpUpdateTime" />
@@ -16,12 +16,36 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != cUserId "> and `c_user_id` = #{cUserId} </if>
<if test=" null != etcpToken "> and `etcp_token` = #{etcpToken} </if>
<if test=" null != etcpCreateTime "> and `etcp_create_time` = #{etcpCreateTime} </if>
<if test=" null != etcpUpdateTime "> and `etcp_update_time` = #{etcpUpdateTime} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != cUserId ">
and `c_user_id` = #{cUserId}
</if>
<if test=" null != etcpToken ">
and `etcp_token` like concat('%', #{etcpToken},'%')
</if>
<if test=" null != etcpCreateTime ">
and `etcp_create_time` = #{etcpCreateTime}
</if>
<if test=" null != etcpUpdateTime ">
and `etcp_update_time` = #{etcpUpdateTime}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 106
- 22
mallinkService/src/main/resources/mapper/WxCUserMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCUserMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCUser">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="open_id" jdbcType="VARCHAR" property="openId" />
<result column="union_id" jdbcType="VARCHAR" property="unionId" />
@@ -31,27 +31,111 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != openId "> and `open_id` = #{openId} </if>
<if test=" null != unionId "> and `union_id` = #{unionId} </if>
<if test=" null != nickName "> and `nick_name` = #{nickName} </if>
<if test=" null != gender "> and `gender` = #{gender} </if>
<if test=" null != avatarUrl "> and `avatar_url` = #{avatarUrl} </if>
<if test=" null != phone "> and `phone` = #{phone} </if>
<if test=" null != purePhone "> and `pure_phone` = #{purePhone} </if>
<if test=" null != city "> and `city` = #{city} </if>
<if test=" null != province "> and `province` = #{province} </if>
<if test=" null != language "> and `language` = #{language} </if>
<if test=" null != countryCode "> and `country_code` = #{countryCode} </if>
<if test=" null != qrcodeSource "> and `qrcode_source` = #{qrcodeSource} </if>
<if test=" null != registerIp "> and `register_ip` = #{registerIp} </if>
<if test=" null != scene "> and `scene` = #{scene} </if>
<if test=" null != sceneAddress "> and `scene_address` = #{sceneAddress} </if>
<if test=" null != sessionKey "> and `session_key` = #{sessionKey} </if>
<if test=" null != updateDate "> and `update_date` = #{updateDate} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != score "> and `score` = #{score} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != openId ">
and `open_id` like concat('%', #{openId},'%')
</if>
<if test=" null != unionId ">
and `union_id` like concat('%', #{unionId},'%')
</if>
<if test=" null != nickName ">
and `nick_name` like concat('%', #{nickName},'%')
</if>
<if test=" null != gender ">
and `gender` = #{gender}
</if>
<if test=" null != avatarUrl ">
and `avatar_url` like concat('%', #{avatarUrl},'%')
</if>
<if test=" null != phone ">
and `phone` like concat('%', #{phone},'%')
</if>
<if test=" null != purePhone ">
and `pure_phone` like concat('%', #{purePhone},'%')
</if>
<if test=" null != city ">
and `city` like concat('%', #{city},'%')
</if>
<if test=" null != province ">
and `province` like concat('%', #{province},'%')
</if>
<if test=" null != language ">
and `language` like concat('%', #{language},'%')
</if>
<if test=" null != countryCode ">
and `country_code` like concat('%', #{countryCode},'%')
</if>
<if test=" null != qrcodeSource ">
and `qrcode_source` like concat('%', #{qrcodeSource},'%')
</if>
<if test=" null != registerIp ">
and `register_ip` like concat('%', #{registerIp},'%')
</if>
<if test=" null != scene ">
and `scene` like concat('%', #{scene},'%')
</if>
<if test=" null != sceneAddress ">
and `scene_address` like concat('%', #{sceneAddress},'%')
</if>
<if test=" null != sessionKey ">
and `session_key` like concat('%', #{sessionKey},'%')
</if>
<if test=" null != updateDate ">
and `update_date` = #{updateDate}
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != score ">
and `score` = #{score}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 22
- 6
mallinkService/src/main/resources/mapper/WxCUserTagsMapper.xml Zobrazit soubor

@@ -2,9 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCUserTagsMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCUserTags">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="user_id" jdbcType="INTEGER" property="userId" />
<result column="user_id" jdbcType="BIGINT" property="userId" />
<result column="tags" jdbcType="VARCHAR" property="tags" />
</resultMap>
@@ -14,10 +14,26 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != userId "> and `user_id` = #{userId} </if>
<if test=" null != tags "> and `tags` = #{tags} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != userId ">
and `user_id` = #{userId}
</if>
<if test=" null != tags ">
and `tags` like concat('%', #{tags},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 33
- 9
mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml Zobrazit soubor

@@ -2,10 +2,10 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCouponActionLogMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCouponActionLog">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="coupon_id" jdbcType="INTEGER" property="couponId" />
<result column="user_id" jdbcType="INTEGER" property="userId" />
<result column="coupon_id" jdbcType="BIGINT" property="couponId" />
<result column="user_id" jdbcType="BIGINT" property="userId" />
<result column="action" jdbcType="VARCHAR" property="action" />
<result column="operation_time" jdbcType="TIMESTAMP" property="operationTime" />
</resultMap>
@@ -16,12 +16,36 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != couponId "> and `coupon_id` = #{couponId} </if>
<if test=" null != userId "> and `user_id` = #{userId} </if>
<if test=" null != action "> and `action` = #{action} </if>
<if test=" null != operationTime "> and `operation_time` = #{operationTime} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != couponId ">
and `coupon_id` = #{couponId}
</if>
<if test=" null != userId ">
and `user_id` = #{userId}
</if>
<if test=" null != action ">
and `action` like concat('%', #{action},'%')
</if>
<if test=" null != operationTime ">
and `operation_time` = #{operationTime}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 117
- 25
mallinkService/src/main/resources/mapper/WxCouponActivityMapper.xml Zobrazit soubor

@@ -2,9 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCouponActivityMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCouponActivity">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="merchant_id" jdbcType="INTEGER" property="merchantId" />
<result column="merchant_id" jdbcType="BIGINT" property="merchantId" />
<result column="type" jdbcType="INTEGER" property="type" />
<result column="cover_img" jdbcType="VARCHAR" property="coverImg" />
<result column="title" jdbcType="VARCHAR" property="title" />
@@ -33,29 +33,121 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != merchantId "> and `merchant_id` = #{merchantId} </if>
<if test=" null != type "> and `type` = #{type} </if>
<if test=" null != coverImg "> and `cover_img` = #{coverImg} </if>
<if test=" null != title "> and `title` = #{title} </if>
<if test=" null != subTitle "> and `sub_title` = #{subTitle} </if>
<if test=" null != salePrice "> and `sale_price` = #{salePrice} </if>
<if test=" null != usePrice "> and `use_price` = #{usePrice} </if>
<if test=" null != useLimitQuantity "> and `use_limit_quantity` = #{useLimitQuantity} </if>
<if test=" null != sendStartDate "> and `send_start_date` = #{sendStartDate} </if>
<if test=" null != sendEndDate "> and `send_end_date` = #{sendEndDate} </if>
<if test=" null != validStartDate "> and `valid_start_date` = #{validStartDate} </if>
<if test=" null != validEndDate "> and `valid_end_date` = #{validEndDate} </if>
<if test=" null != validDays "> and `valid_days` = #{validDays} </if>
<if test=" null != detail "> and `detail` = #{detail} </if>
<if test=" null != sendType "> and `send_type` = #{sendType} </if>
<if test=" null != targetAd "> and `target_ad` = #{targetAd} </if>
<if test=" null != businesses "> and `businesses` = #{businesses} </if>
<if test=" null != price "> and `price` = #{price} </if>
<if test=" null != number "> and `number` = #{number} </if>
<if test=" null != total "> and `total` = #{total} </if>
<if test=" null != status "> and `status` = #{status} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != merchantId ">
and `merchant_id` = #{merchantId}
</if>
<if test=" null != type ">
and `type` = #{type}
</if>
<if test=" null != coverImg ">
and `cover_img` like concat('%', #{coverImg},'%')
</if>
<if test=" null != title ">
and `title` like concat('%', #{title},'%')
</if>
<if test=" null != subTitle ">
and `sub_title` like concat('%', #{subTitle},'%')
</if>
<if test=" null != salePrice ">
and `sale_price` = #{salePrice}
</if>
<if test=" null != usePrice ">
and `use_price` = #{usePrice}
</if>
<if test=" null != useLimitQuantity ">
and `use_limit_quantity` = #{useLimitQuantity}
</if>
<if test=" null != sendStartDate ">
and `send_start_date` = #{sendStartDate}
</if>
<if test=" null != sendEndDate ">
and `send_end_date` = #{sendEndDate}
</if>
<if test=" null != validStartDate ">
and `valid_start_date` = #{validStartDate}
</if>
<if test=" null != validEndDate ">
and `valid_end_date` = #{validEndDate}
</if>
<if test=" null != validDays ">
and `valid_days` = #{validDays}
</if>
<if test=" null != detail ">
and `detail` like concat('%', #{detail},'%')
</if>
<if test=" null != sendType ">
and `send_type` = #{sendType}
</if>
<if test=" null != targetAd ">
and `target_ad` = #{targetAd}
</if>
<if test=" null != businesses ">
and `businesses` like concat('%', #{businesses},'%')
</if>
<if test=" null != price ">
and `price` = #{price}
</if>
<if test=" null != number ">
and `number` = #{number}
</if>
<if test=" null != total ">
and `total` = #{total}
</if>
<if test=" null != status ">
and `status` = #{status}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 83
- 19
mallinkService/src/main/resources/mapper/WxCouponMapper.xml Zobrazit soubor

@@ -2,10 +2,10 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCouponMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCoupon">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="activity_id" jdbcType="INTEGER" property="activityId" />
<result column="merchant_id" jdbcType="INTEGER" property="merchantId" />
<result column="activity_id" jdbcType="BIGINT" property="activityId" />
<result column="merchant_id" jdbcType="BIGINT" property="merchantId" />
<result column="type" jdbcType="INTEGER" property="type" />
<result column="cover_img" jdbcType="VARCHAR" property="coverImg" />
<result column="title" jdbcType="VARCHAR" property="title" />
@@ -26,22 +26,86 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != activityId "> and `activity_id` = #{activityId} </if>
<if test=" null != merchantId "> and `merchant_id` = #{merchantId} </if>
<if test=" null != type "> and `type` = #{type} </if>
<if test=" null != coverImg "> and `cover_img` = #{coverImg} </if>
<if test=" null != title "> and `title` = #{title} </if>
<if test=" null != subTitle "> and `sub_title` = #{subTitle} </if>
<if test=" null != detail "> and `detail` = #{detail} </if>
<if test=" null != price "> and `price` = #{price} </if>
<if test=" null != salePrice "> and `sale_price` = #{salePrice} </if>
<if test=" null != usePrice "> and `use_price` = #{usePrice} </if>
<if test=" null != business "> and `business` = #{business} </if>
<if test=" null != status "> and `status` = #{status} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != updateDate "> and `update_date` = #{updateDate} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != activityId ">
and `activity_id` = #{activityId}
</if>
<if test=" null != merchantId ">
and `merchant_id` = #{merchantId}
</if>
<if test=" null != type ">
and `type` = #{type}
</if>
<if test=" null != coverImg ">
and `cover_img` like concat('%', #{coverImg},'%')
</if>
<if test=" null != title ">
and `title` like concat('%', #{title},'%')
</if>
<if test=" null != subTitle ">
and `sub_title` like concat('%', #{subTitle},'%')
</if>
<if test=" null != detail ">
and `detail` like concat('%', #{detail},'%')
</if>
<if test=" null != price ">
and `price` = #{price}
</if>
<if test=" null != salePrice ">
and `sale_price` = #{salePrice}
</if>
<if test=" null != usePrice ">
and `use_price` = #{usePrice}
</if>
<if test=" null != business ">
and `business` like concat('%', #{business},'%')
</if>
<if test=" null != status ">
and `status` = #{status}
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != updateDate ">
and `update_date` = #{updateDate}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 60
- 16
mallinkService/src/main/resources/mapper/WxCouponRecordMapper.xml Zobrazit soubor

@@ -2,15 +2,15 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCouponRecordMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCouponRecord">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="coupon_id" jdbcType="INTEGER" property="couponId" />
<result column="order_id" jdbcType="INTEGER" property="orderId" />
<result column="c_user_id" jdbcType="INTEGER" property="cUserId" />
<result column="coupon_id" jdbcType="BIGINT" property="couponId" />
<result column="order_id" jdbcType="BIGINT" property="orderId" />
<result column="c_user_id" jdbcType="BIGINT" property="cUserId" />
<result column="buy_date" jdbcType="TIMESTAMP" property="buyDate" />
<result column="limit_date" jdbcType="TIMESTAMP" property="limitDate" />
<result column="c_status" jdbcType="INTEGER" property="cStatus" />
<result column="b_user_id" jdbcType="INTEGER" property="bUserId" />
<result column="b_user_id" jdbcType="BIGINT" property="bUserId" />
<result column="verification_date" jdbcType="TIMESTAMP" property="verificationDate" />
<result column="verification_status" jdbcType="INTEGER" property="verificationStatus" />
</resultMap>
@@ -21,17 +21,61 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != couponId "> and `coupon_id` = #{couponId} </if>
<if test=" null != orderId "> and `order_id` = #{orderId} </if>
<if test=" null != cUserId "> and `c_user_id` = #{cUserId} </if>
<if test=" null != buyDate "> and `buy_date` = #{buyDate} </if>
<if test=" null != limitDate "> and `limit_date` = #{limitDate} </if>
<if test=" null != cStatus "> and `c_status` = #{cStatus} </if>
<if test=" null != bUserId "> and `b_user_id` = #{bUserId} </if>
<if test=" null != verificationDate "> and `verification_date` = #{verificationDate} </if>
<if test=" null != verificationStatus "> and `verification_status` = #{verificationStatus} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != couponId ">
and `coupon_id` = #{couponId}
</if>
<if test=" null != orderId ">
and `order_id` = #{orderId}
</if>
<if test=" null != cUserId ">
and `c_user_id` = #{cUserId}
</if>
<if test=" null != buyDate ">
and `buy_date` = #{buyDate}
</if>
<if test=" null != limitDate ">
and `limit_date` = #{limitDate}
</if>
<if test=" null != cStatus ">
and `c_status` = #{cStatus}
</if>
<if test=" null != bUserId ">
and `b_user_id` = #{bUserId}
</if>
<if test=" null != verificationDate ">
and `verification_date` = #{verificationDate}
</if>
<if test=" null != verificationStatus ">
and `verification_status` = #{verificationStatus}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 11
- 3
mallinkService/src/main/resources/mapper/WxCouponTypeMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxCouponTypeMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxCouponType">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="title" jdbcType="VARCHAR" property="title" />
</resultMap>
@@ -12,8 +12,16 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != title "> and `title` = #{title} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != title ">
and `title` like concat('%', #{title},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 57
- 13
mallinkService/src/main/resources/mapper/WxEtcpCouponRecordMapper.xml Zobrazit soubor

@@ -2,9 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxEtcpCouponRecordMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxEtcpCouponRecord">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="coupon_id" jdbcType="INTEGER" property="couponId" />
<result column="coupon_id" jdbcType="BIGINT" property="couponId" />
<result column="car_number" jdbcType="VARCHAR" property="carNumber" />
<result column="park_id" jdbcType="VARCHAR" property="parkId" />
<result column="business_id" jdbcType="VARCHAR" property="businessId" />
@@ -21,17 +21,61 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != couponId "> and `coupon_id` = #{couponId} </if>
<if test=" null != carNumber "> and `car_number` = #{carNumber} </if>
<if test=" null != parkId "> and `park_id` = #{parkId} </if>
<if test=" null != businessId "> and `business_id` = #{businessId} </if>
<if test=" null != couponFreeId "> and `coupon_free_id` = #{couponFreeId} </if>
<if test=" null != code "> and `code` = #{code} </if>
<if test=" null != message "> and `message` = #{message} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != updateDate "> and `update_date` = #{updateDate} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != couponId ">
and `coupon_id` = #{couponId}
</if>
<if test=" null != carNumber ">
and `car_number` like concat('%', #{carNumber},'%')
</if>
<if test=" null != parkId ">
and `park_id` like concat('%', #{parkId},'%')
</if>
<if test=" null != businessId ">
and `business_id` like concat('%', #{businessId},'%')
</if>
<if test=" null != couponFreeId ">
and `coupon_free_id` = #{couponFreeId}
</if>
<if test=" null != code ">
and `code` = #{code}
</if>
<if test=" null != message ">
and `message` like concat('%', #{message},'%')
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != updateDate ">
and `update_date` = #{updateDate}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 16
- 4
mallinkService/src/main/resources/mapper/WxEtcpParkDissolutionMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxEtcpParkDissolutionMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxEtcpParkDissolution">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="sign_no" jdbcType="VARCHAR" property="signNo" />
</resultMap>
@@ -13,9 +13,21 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != signNo "> and `sign_no` = #{signNo} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != signNo ">
and `sign_no` like concat('%', #{signNo},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 26
- 6
mallinkService/src/main/resources/mapper/WxEtcpParkInMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxEtcpParkInMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxEtcpParkIn">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="syn_id" jdbcType="VARCHAR" property="synId" />
<result column="plate_number" jdbcType="VARCHAR" property="plateNumber" />
@@ -15,11 +15,31 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != synId "> and `syn_id` = #{synId} </if>
<if test=" null != plateNumber "> and `plate_number` = #{plateNumber} </if>
<if test=" null != parkName "> and `park_name` = #{parkName} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != synId ">
and `syn_id` like concat('%', #{synId},'%')
</if>
<if test=" null != plateNumber ">
and `plate_number` like concat('%', #{plateNumber},'%')
</if>
<if test=" null != parkName ">
and `park_name` like concat('%', #{parkName},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 16
- 4
mallinkService/src/main/resources/mapper/WxEtcpParkMsgSucMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxEtcpParkMsgSucMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxEtcpParkMsgSuc">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="sign_no" jdbcType="VARCHAR" property="signNo" />
</resultMap>
@@ -13,9 +13,21 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != signNo "> and `sign_no` = #{signNo} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != signNo ">
and `sign_no` like concat('%', #{signNo},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 101
- 21
mallinkService/src/main/resources/mapper/WxEtcpParkOrderunpayMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxEtcpParkOrderunpayMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxEtcpParkOrderunpay">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="plate_number" jdbcType="VARCHAR" property="plateNumber" />
<result column="code" jdbcType="INTEGER" property="code" />
@@ -30,26 +30,106 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != plateNumber "> and `plate_number` = #{plateNumber} </if>
<if test=" null != code "> and `code` = #{code} </if>
<if test=" null != message "> and `message` = #{message} </if>
<if test=" null != data "> and `data` = #{data} </if>
<if test=" null != entranceTime "> and `entrance_time` = #{entranceTime} </if>
<if test=" null != parkingFee "> and `parking_fee` = #{parkingFee} </if>
<if test=" null != remainingFee "> and `remaining_fee` = #{remainingFee} </if>
<if test=" null != paidFee "> and `paid_fee` = #{paidFee} </if>
<if test=" null != parkingId "> and `parking_id` = #{parkingId} </if>
<if test=" null != discountAmount "> and `discount_amount` = #{discountAmount} </if>
<if test=" null != orderId "> and `order_id` = #{orderId} </if>
<if test=" null != carNumber "> and `car_number` = #{carNumber} </if>
<if test=" null != verificationInfo "> and `verification_info` = #{verificationInfo} </if>
<if test=" null != synId "> and `syn_id` = #{synId} </if>
<if test=" null != discountNo "> and `discount_no` = #{discountNo} </if>
<if test=" null != status "> and `status` = #{status} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != updateDate "> and `update_date` = #{updateDate} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != plateNumber ">
and `plate_number` like concat('%', #{plateNumber},'%')
</if>
<if test=" null != code ">
and `code` = #{code}
</if>
<if test=" null != message ">
and `message` like concat('%', #{message},'%')
</if>
<if test=" null != data ">
and `data` like concat('%', #{data},'%')
</if>
<if test=" null != entranceTime ">
and `entrance_time` like concat('%', #{entranceTime},'%')
</if>
<if test=" null != parkingFee ">
and `parking_fee` = #{parkingFee}
</if>
<if test=" null != remainingFee ">
and `remaining_fee` = #{remainingFee}
</if>
<if test=" null != paidFee ">
and `paid_fee` = #{paidFee}
</if>
<if test=" null != parkingId ">
and `parking_id` like concat('%', #{parkingId},'%')
</if>
<if test=" null != discountAmount ">
and `discount_amount` = #{discountAmount}
</if>
<if test=" null != orderId ">
and `order_id` like concat('%', #{orderId},'%')
</if>
<if test=" null != carNumber ">
and `car_number` like concat('%', #{carNumber},'%')
</if>
<if test=" null != verificationInfo ">
and `verification_info` like concat('%', #{verificationInfo},'%')
</if>
<if test=" null != synId ">
and `syn_id` like concat('%', #{synId},'%')
</if>
<if test=" null != discountNo ">
and `discount_no` = #{discountNo}
</if>
<if test=" null != status ">
and `status` = #{status}
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != updateDate ">
and `update_date` = #{updateDate}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 26
- 6
mallinkService/src/main/resources/mapper/WxEtcpParkOutMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxEtcpParkOutMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxEtcpParkOut">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="syn_id" jdbcType="VARCHAR" property="synId" />
<result column="plate_number" jdbcType="VARCHAR" property="plateNumber" />
@@ -15,11 +15,31 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != synId "> and `syn_id` = #{synId} </if>
<if test=" null != plateNumber "> and `plate_number` = #{plateNumber} </if>
<if test=" null != parkName "> and `park_name` = #{parkName} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != synId ">
and `syn_id` like concat('%', #{synId},'%')
</if>
<if test=" null != plateNumber ">
and `plate_number` like concat('%', #{plateNumber},'%')
</if>
<if test=" null != parkName ">
and `park_name` like concat('%', #{parkName},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 61
- 13
mallinkService/src/main/resources/mapper/WxEtcpParkTransactionMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxEtcpParkTransactionMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxEtcpParkTransaction">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="pay_type" jdbcType="INTEGER" property="payType" />
<result column="syn_id" jdbcType="VARCHAR" property="synId" />
@@ -22,18 +22,66 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != payType "> and `pay_type` = #{payType} </if>
<if test=" null != synId "> and `syn_id` = #{synId} </if>
<if test=" null != returnUrl "> and `return_url` = #{returnUrl} </if>
<if test=" null != couponCode "> and `coupon_code` = #{couponCode} </if>
<if test=" null != code "> and `code` = #{code} </if>
<if test=" null != message "> and `message` = #{message} </if>
<if test=" null != data "> and `data` = #{data} </if>
<if test=" null != status "> and `status` = #{status} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != updateDate "> and `update_date` = #{updateDate} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != payType ">
and `pay_type` = #{payType}
</if>
<if test=" null != synId ">
and `syn_id` like concat('%', #{synId},'%')
</if>
<if test=" null != returnUrl ">
and `return_url` like concat('%', #{returnUrl},'%')
</if>
<if test=" null != couponCode ">
and `coupon_code` like concat('%', #{couponCode},'%')
</if>
<if test=" null != code ">
and `code` = #{code}
</if>
<if test=" null != message ">
and `message` like concat('%', #{message},'%')
</if>
<if test=" null != data ">
and `data` like concat('%', #{data},'%')
</if>
<if test=" null != status ">
and `status` = #{status}
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != updateDate ">
and `update_date` = #{updateDate}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 16
- 4
mallinkService/src/main/resources/mapper/WxEtcpParkUnbindMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxEtcpParkUnbindMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxEtcpParkUnbind">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="plate_number" jdbcType="VARCHAR" property="plateNumber" />
</resultMap>
@@ -13,9 +13,21 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != plateNumber "> and `plate_number` = #{plateNumber} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != plateNumber ">
and `plate_number` like concat('%', #{plateNumber},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 32
- 8
mallinkService/src/main/resources/mapper/WxFlashSaleMapper.xml Zobrazit soubor

@@ -2,9 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxFlashSaleMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxFlashSale">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="activity_id" jdbcType="INTEGER" property="activityId" />
<result column="activity_id" jdbcType="BIGINT" property="activityId" />
<result column="createtime" jdbcType="TIMESTAMP" property="createtime" />
<result column="uptime" jdbcType="TIMESTAMP" property="uptime" />
<result column="is_enable" jdbcType="INTEGER" property="isEnable" />
@@ -16,12 +16,36 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != activityId "> and `activity_id` = #{activityId} </if>
<if test=" null != createtime "> and `createtime` = #{createtime} </if>
<if test=" null != uptime "> and `uptime` = #{uptime} </if>
<if test=" null != isEnable "> and `is_enable` = #{isEnable} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != activityId ">
and `activity_id` = #{activityId}
</if>
<if test=" null != createtime ">
and `createtime` = #{createtime}
</if>
<if test=" null != uptime ">
and `uptime` = #{uptime}
</if>
<if test=" null != isEnable ">
and `is_enable` = #{isEnable}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 15
- 3
mallinkService/src/main/resources/mapper/WxImgUrlMapper.xml Zobrazit soubor

@@ -13,9 +13,21 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != address "> and `address` = #{address} </if>
<if test=" null != sign "> and `sign` = #{sign} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != address ">
and `address` like concat('%', #{address},'%')
</if>
<if test=" null != sign ">
and `sign` like concat('%', #{sign},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 27
- 7
mallinkService/src/main/resources/mapper/WxMallBuildingMapper.xml Zobrazit soubor

@@ -2,9 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxMallBuildingMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxMallBuilding">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="mall_id" jdbcType="INTEGER" property="mallId" />
<result column="mall_id" jdbcType="BIGINT" property="mallId" />
<result column="name" jdbcType="VARCHAR" property="name" />
<result column="floor_number" jdbcType="INTEGER" property="floorNumber" />
</resultMap>
@@ -15,11 +15,31 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != mallId "> and `mall_id` = #{mallId} </if>
<if test=" null != name "> and `name` = #{name} </if>
<if test=" null != floorNumber "> and `floor_number` = #{floorNumber} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != mallId ">
and `mall_id` = #{mallId}
</if>
<if test=" null != name ">
and `name` like concat('%', #{name},'%')
</if>
<if test=" null != floorNumber ">
and `floor_number` = #{floorNumber}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 28
- 8
mallinkService/src/main/resources/mapper/WxMallFloorMapper.xml Zobrazit soubor

@@ -2,10 +2,10 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxMallFloorMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxMallFloor">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="mall_id" jdbcType="INTEGER" property="mallId" />
<result column="building_id" jdbcType="INTEGER" property="buildingId" />
<result column="mall_id" jdbcType="BIGINT" property="mallId" />
<result column="building_id" jdbcType="BIGINT" property="buildingId" />
<result column="floor_name" jdbcType="VARCHAR" property="floorName" />
</resultMap>
@@ -15,11 +15,31 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != mallId "> and `mall_id` = #{mallId} </if>
<if test=" null != buildingId "> and `building_id` = #{buildingId} </if>
<if test=" null != floorName "> and `floor_name` = #{floorName} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != mallId ">
and `mall_id` = #{mallId}
</if>
<if test=" null != buildingId ">
and `building_id` = #{buildingId}
</if>
<if test=" null != floorName ">
and `floor_name` like concat('%', #{floorName},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 66
- 14
mallinkService/src/main/resources/mapper/WxMallMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxMallMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxMall">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="name" jdbcType="VARCHAR" property="name" />
<result column="group" jdbcType="VARCHAR" property="group" />
@@ -23,19 +23,71 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != name "> and `name` = #{name} </if>
<if test=" null != group "> and `group` = #{group} </if>
<if test=" null != country "> and `country` = #{country} </if>
<if test=" null != province "> and `province` = #{province} </if>
<if test=" null != city "> and `city` = #{city} </if>
<if test=" null != addr "> and `addr` = #{addr} </if>
<if test=" null != wiwideId "> and `wiwide_id` = #{wiwideId} </if>
<if test=" null != totalArea "> and `total_area` = #{totalArea} </if>
<if test=" null != operatingArea "> and `operating_area` = #{operatingArea} </if>
<if test=" null != parkArea "> and `park_area` = #{parkArea} </if>
<if test=" null != parkPlaceNumber "> and `park_place_number` = #{parkPlaceNumber} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != name ">
and `name` like concat('%', #{name},'%')
</if>
<if test=" null != group ">
and `group` like concat('%', #{group},'%')
</if>
<if test=" null != country ">
and `country` like concat('%', #{country},'%')
</if>
<if test=" null != province ">
and `province` like concat('%', #{province},'%')
</if>
<if test=" null != city ">
and `city` like concat('%', #{city},'%')
</if>
<if test=" null != addr ">
and `addr` like concat('%', #{addr},'%')
</if>
<if test=" null != wiwideId ">
and `wiwide_id` like concat('%', #{wiwideId},'%')
</if>
<if test=" null != totalArea ">
and `total_area` = #{totalArea}
</if>
<if test=" null != operatingArea ">
and `operating_area` = #{operatingArea}
</if>
<if test=" null != parkArea ">
and `park_area` = #{parkArea}
</if>
<if test=" null != parkPlaceNumber ">
and `park_place_number` = #{parkPlaceNumber}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 15
- 3
mallinkService/src/main/resources/mapper/WxMerchantEtcpMapper.xml Zobrazit soubor

@@ -13,9 +13,21 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != merchantId "> and `merchant_id` = #{merchantId} </if>
<if test=" null != etcpMerchantId "> and `etcp_merchant_id` = #{etcpMerchantId} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != merchantId ">
and `merchant_id` = #{merchantId}
</if>
<if test=" null != etcpMerchantId ">
and `etcp_merchant_id` like concat('%', #{etcpMerchantId},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 41
- 9
mallinkService/src/main/resources/mapper/WxMerchantMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxMerchantMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxMerchant">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="img_url" jdbcType="VARCHAR" property="imgUrl" />
<result column="name" jdbcType="VARCHAR" property="name" />
@@ -18,14 +18,46 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != imgUrl "> and `img_url` = #{imgUrl} </if>
<if test=" null != name "> and `name` = #{name} </if>
<if test=" null != linkPhone "> and `link_phone` = #{linkPhone} </if>
<if test=" null != bankCard "> and `bank_card` = #{bankCard} </if>
<if test=" null != bankName "> and `bank_name` = #{bankName} </if>
<if test=" null != merchantId "> and `merchant_id` = #{merchantId} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != imgUrl ">
and `img_url` like concat('%', #{imgUrl},'%')
</if>
<if test=" null != name ">
and `name` like concat('%', #{name},'%')
</if>
<if test=" null != linkPhone ">
and `link_phone` like concat('%', #{linkPhone},'%')
</if>
<if test=" null != bankCard ">
and `bank_card` like concat('%', #{bankCard},'%')
</if>
<if test=" null != bankName ">
and `bank_name` like concat('%', #{bankName},'%')
</if>
<if test=" null != merchantId ">
and `merchant_id` like concat('%', #{merchantId},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 23
- 7
mallinkService/src/main/resources/mapper/WxMerchantShopMapper.xml Zobrazit soubor

@@ -2,10 +2,10 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxMerchantShopMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxMerchantShop">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="merchant_id" jdbcType="INTEGER" property="merchantId" />
<result column="shop_id" jdbcType="INTEGER" property="shopId" />
<result column="merchant_id" jdbcType="BIGINT" property="merchantId" />
<result column="shop_id" jdbcType="BIGINT" property="shopId" />
</resultMap>
<sql id="allColumns">
@@ -14,10 +14,26 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != merchantId "> and `merchant_id` = #{merchantId} </if>
<if test=" null != shopId "> and `shop_id` = #{shopId} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != merchantId ">
and `merchant_id` = #{merchantId}
</if>
<if test=" null != shopId ">
and `shop_id` = #{shopId}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 27
- 7
mallinkService/src/main/resources/mapper/WxMerchantTradeDaysMapper.xml Zobrazit soubor

@@ -2,9 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxMerchantTradeDaysMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxMerchantTradeDays">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="merchant_id" jdbcType="INTEGER" property="merchantId" />
<result column="merchant_id" jdbcType="BIGINT" property="merchantId" />
<result column="trade_amt" jdbcType="DECIMAL" property="tradeAmt" />
<result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
</resultMap>
@@ -15,11 +15,31 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != merchantId "> and `merchant_id` = #{merchantId} </if>
<if test=" null != tradeAmt "> and `trade_amt` = #{tradeAmt} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != merchantId ">
and `merchant_id` = #{merchantId}
</if>
<if test=" null != tradeAmt ">
and `trade_amt` = #{tradeAmt}
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 65
- 17
mallinkService/src/main/resources/mapper/WxMsgConfigMapper.xml Zobrazit soubor

@@ -2,17 +2,17 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxMsgConfigMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxMsgConfig">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="secret" jdbcType="VARCHAR" property="secret" />
<result column="publickey" jdbcType="VARCHAR" property="publickey" />
<result column="bid" jdbcType="VARCHAR" property="bid" />
<result column="recharge" jdbcType="INTEGER" property="recharge" />
<result column="remains" jdbcType="INTEGER" property="remains" />
<result column="total" jdbcType="INTEGER" property="total" />
<result column="recharge" jdbcType="BIGINT" property="recharge" />
<result column="remains" jdbcType="BIGINT" property="remains" />
<result column="total" jdbcType="BIGINT" property="total" />
<result column="account" jdbcType="VARCHAR" property="account" />
<result column="reminderstatus" jdbcType="INTEGER" property="reminderstatus" />
<result column="reminder" jdbcType="INTEGER" property="reminder" />
<result column="reminder" jdbcType="BIGINT" property="reminder" />
<result column="phone" jdbcType="VARCHAR" property="phone" />
</resultMap>
@@ -22,18 +22,66 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != secret "> and `secret` = #{secret} </if>
<if test=" null != publickey "> and `publickey` = #{publickey} </if>
<if test=" null != bid "> and `bid` = #{bid} </if>
<if test=" null != recharge "> and `recharge` = #{recharge} </if>
<if test=" null != remains "> and `remains` = #{remains} </if>
<if test=" null != total "> and `total` = #{total} </if>
<if test=" null != account "> and `account` = #{account} </if>
<if test=" null != reminderstatus "> and `reminderstatus` = #{reminderstatus} </if>
<if test=" null != reminder "> and `reminder` = #{reminder} </if>
<if test=" null != phone "> and `phone` = #{phone} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != secret ">
and `secret` like concat('%', #{secret},'%')
</if>
<if test=" null != publickey ">
and `publickey` like concat('%', #{publickey},'%')
</if>
<if test=" null != bid ">
and `bid` like concat('%', #{bid},'%')
</if>
<if test=" null != recharge ">
and `recharge` = #{recharge}
</if>
<if test=" null != remains ">
and `remains` = #{remains}
</if>
<if test=" null != total ">
and `total` = #{total}
</if>
<if test=" null != account ">
and `account` like concat('%', #{account},'%')
</if>
<if test=" null != reminderstatus ">
and `reminderstatus` = #{reminderstatus}
</if>
<if test=" null != reminder ">
and `reminder` = #{reminder}
</if>
<if test=" null != phone ">
and `phone` like concat('%', #{phone},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 57
- 13
mallinkService/src/main/resources/mapper/WxMsgMapper.xml Zobrazit soubor

@@ -2,9 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxMsgMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxMsg">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="model_id" jdbcType="INTEGER" property="modelId" />
<result column="model_id" jdbcType="BIGINT" property="modelId" />
<result column="msg" jdbcType="VARCHAR" property="msg" />
<result column="sendtime" jdbcType="TIMESTAMP" property="sendtime" />
<result column="createtime" jdbcType="TIMESTAMP" property="createtime" />
@@ -21,17 +21,61 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != modelId "> and `model_id` = #{modelId} </if>
<if test=" null != msg "> and `msg` = #{msg} </if>
<if test=" null != sendtime "> and `sendtime` = #{sendtime} </if>
<if test=" null != createtime "> and `createtime` = #{createtime} </if>
<if test=" null != expectSendNumber "> and `expect_send_number` = #{expectSendNumber} </if>
<if test=" null != successNumber "> and `success_number` = #{successNumber} </if>
<if test=" null != errorNumber "> and `error_number` = #{errorNumber} </if>
<if test=" null != returnResult "> and `return_result` = #{returnResult} </if>
<if test=" null != phones "> and `phones` = #{phones} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != modelId ">
and `model_id` = #{modelId}
</if>
<if test=" null != msg ">
and `msg` like concat('%', #{msg},'%')
</if>
<if test=" null != sendtime ">
and `sendtime` = #{sendtime}
</if>
<if test=" null != createtime ">
and `createtime` = #{createtime}
</if>
<if test=" null != expectSendNumber ">
and `expect_send_number` like concat('%', #{expectSendNumber},'%')
</if>
<if test=" null != successNumber ">
and `success_number` like concat('%', #{successNumber},'%')
</if>
<if test=" null != errorNumber ">
and `error_number` like concat('%', #{errorNumber},'%')
</if>
<if test=" null != returnResult ">
and `return_result` like concat('%', #{returnResult},'%')
</if>
<if test=" null != phones ">
and `phones` like concat('%', #{phones},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 36
- 8
mallinkService/src/main/resources/mapper/WxMsgModelMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxMsgModelMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxMsgModel">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="name" jdbcType="VARCHAR" property="name" />
<result column="signature" jdbcType="VARCHAR" property="signature" />
@@ -17,13 +17,41 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != name "> and `name` = #{name} </if>
<if test=" null != signature "> and `signature` = #{signature} </if>
<if test=" null != content "> and `content` = #{content} </if>
<if test=" null != createtime "> and `createtime` = #{createtime} </if>
<if test=" null != status "> and `status` = #{status} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != name ">
and `name` like concat('%', #{name},'%')
</if>
<if test=" null != signature ">
and `signature` like concat('%', #{signature},'%')
</if>
<if test=" null != content ">
and `content` like concat('%', #{content},'%')
</if>
<if test=" null != createtime ">
and `createtime` = #{createtime}
</if>
<if test=" null != status ">
and `status` = #{status}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 21
- 5
mallinkService/src/main/resources/mapper/WxMsgSignatureMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxMsgSignatureMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxMsgSignature">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="name" jdbcType="VARCHAR" property="name" />
<result column="createtime" jdbcType="TIMESTAMP" property="createtime" />
@@ -14,10 +14,26 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != name "> and `name` = #{name} </if>
<if test=" null != createtime "> and `createtime` = #{createtime} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != name ">
and `name` like concat('%', #{name},'%')
</if>
<if test=" null != createtime ">
and `createtime` = #{createtime}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 43
- 11
mallinkService/src/main/resources/mapper/WxOrdersMapper.xml Zobrazit soubor

@@ -2,10 +2,10 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxOrdersMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxOrders">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="coupon_id" jdbcType="INTEGER" property="couponId" />
<result column="c_user_id" jdbcType="INTEGER" property="cUserId" />
<result column="coupon_id" jdbcType="BIGINT" property="couponId" />
<result column="c_user_id" jdbcType="BIGINT" property="cUserId" />
<result column="payment" jdbcType="DECIMAL" property="payment" />
<result column="status" jdbcType="INTEGER" property="status" />
<result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
@@ -18,14 +18,46 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != couponId "> and `coupon_id` = #{couponId} </if>
<if test=" null != cUserId "> and `c_user_id` = #{cUserId} </if>
<if test=" null != payment "> and `payment` = #{payment} </if>
<if test=" null != status "> and `status` = #{status} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != updateDate "> and `update_date` = #{updateDate} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != couponId ">
and `coupon_id` = #{couponId}
</if>
<if test=" null != cUserId ">
and `c_user_id` = #{cUserId}
</if>
<if test=" null != payment ">
and `payment` = #{payment}
</if>
<if test=" null != status ">
and `status` = #{status}
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != updateDate ">
and `update_date` = #{updateDate}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 15
- 3
mallinkService/src/main/resources/mapper/WxParkEtcpMapper.xml Zobrazit soubor

@@ -13,9 +13,21 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != parkId "> and `park_id` = #{parkId} </if>
<if test=" null != etcpParkId "> and `etcp_park_id` = #{etcpParkId} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != parkId ">
and `park_id` = #{parkId}
</if>
<if test=" null != etcpParkId ">
and `etcp_park_id` like concat('%', #{etcpParkId},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 31
- 7
mallinkService/src/main/resources/mapper/WxParkMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxParkMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxPark">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="addr" jdbcType="VARCHAR" property="addr" />
<result column="number" jdbcType="INTEGER" property="number" />
@@ -16,12 +16,36 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != addr "> and `addr` = #{addr} </if>
<if test=" null != number "> and `number` = #{number} </if>
<if test=" null != etcpParkId "> and `etcp_park_id` = #{etcpParkId} </if>
<if test=" null != entryExit "> and `entry_exit` = #{entryExit} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != addr ">
and `addr` like concat('%', #{addr},'%')
</if>
<if test=" null != number ">
and `number` = #{number}
</if>
<if test=" null != etcpParkId ">
and `etcp_park_id` like concat('%', #{etcpParkId},'%')
</if>
<if test=" null != entryExit ">
and `entry_exit` = #{entryExit}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 48
- 12
mallinkService/src/main/resources/mapper/WxScoreHistoryMapper.xml Zobrazit soubor

@@ -2,12 +2,12 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxScoreHistoryMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxScoreHistory">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="c_user_id" jdbcType="INTEGER" property="cUserId" />
<result column="c_user_id" jdbcType="BIGINT" property="cUserId" />
<result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
<result column="valid_date" jdbcType="TIMESTAMP" property="validDate" />
<result column="order_id" jdbcType="INTEGER" property="orderId" />
<result column="order_id" jdbcType="BIGINT" property="orderId" />
<result column="pay_type" jdbcType="INTEGER" property="payType" />
<result column="pay_amount" jdbcType="DECIMAL" property="payAmount" />
<result column="score_amount" jdbcType="INTEGER" property="scoreAmount" />
@@ -19,15 +19,51 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != cUserId "> and `c_user_id` = #{cUserId} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != validDate "> and `valid_date` = #{validDate} </if>
<if test=" null != orderId "> and `order_id` = #{orderId} </if>
<if test=" null != payType "> and `pay_type` = #{payType} </if>
<if test=" null != payAmount "> and `pay_amount` = #{payAmount} </if>
<if test=" null != scoreAmount "> and `score_amount` = #{scoreAmount} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != cUserId ">
and `c_user_id` = #{cUserId}
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != validDate ">
and `valid_date` = #{validDate}
</if>
<if test=" null != orderId ">
and `order_id` = #{orderId}
</if>
<if test=" null != payType ">
and `pay_type` = #{payType}
</if>
<if test=" null != payAmount ">
and `pay_amount` = #{payAmount}
</if>
<if test=" null != scoreAmount ">
and `score_amount` = #{scoreAmount}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 21
- 5
mallinkService/src/main/resources/mapper/WxScoreRulesMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxScoreRulesMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxScoreRules">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="consumption_amount" jdbcType="DECIMAL" property="consumptionAmount" />
<result column="score_number" jdbcType="INTEGER" property="scoreNumber" />
@@ -14,10 +14,26 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != consumptionAmount "> and `consumption_amount` = #{consumptionAmount} </if>
<if test=" null != scoreNumber "> and `score_number` = #{scoreNumber} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != consumptionAmount ">
and `consumption_amount` = #{consumptionAmount}
</if>
<if test=" null != scoreNumber ">
and `score_number` = #{scoreNumber}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 16
- 4
mallinkService/src/main/resources/mapper/WxScoreValidityPeriodMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxScoreValidityPeriodMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxScoreValidityPeriod">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="year" jdbcType="VARCHAR" property="year" />
</resultMap>
@@ -13,9 +13,21 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != year "> and `year` = #{year} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != year ">
and `year` like concat('%', #{year},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 61
- 13
mallinkService/src/main/resources/mapper/WxShopMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxShopMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxShop">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="title" jdbcType="VARCHAR" property="title" />
<result column="build_area" jdbcType="VARCHAR" property="buildArea" />
@@ -22,18 +22,66 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != title "> and `title` = #{title} </if>
<if test=" null != buildArea "> and `build_area` = #{buildArea} </if>
<if test=" null != operationArea "> and `operation_area` = #{operationArea} </if>
<if test=" null != building "> and `building` = #{building} </if>
<if test=" null != floor "> and `floor` = #{floor} </if>
<if test=" null != x "> and `x` = #{x} </if>
<if test=" null != y "> and `y` = #{y} </if>
<if test=" null != baiduPoi "> and `baidu_poi` = #{baiduPoi} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != updateDate "> and `update_date` = #{updateDate} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != title ">
and `title` like concat('%', #{title},'%')
</if>
<if test=" null != buildArea ">
and `build_area` like concat('%', #{buildArea},'%')
</if>
<if test=" null != operationArea ">
and `operation_area` like concat('%', #{operationArea},'%')
</if>
<if test=" null != building ">
and `building` like concat('%', #{building},'%')
</if>
<if test=" null != floor ">
and `floor` = #{floor}
</if>
<if test=" null != x ">
and `x` = #{x}
</if>
<if test=" null != y ">
and `y` = #{y}
</if>
<if test=" null != baiduPoi ">
and `baidu_poi` like concat('%', #{baiduPoi},'%')
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != updateDate ">
and `update_date` = #{updateDate}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 26
- 6
mallinkService/src/main/resources/mapper/WxTagsMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxTagsMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxTags">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="name" jdbcType="VARCHAR" property="name" />
<result column="type1" jdbcType="VARCHAR" property="type1" />
@@ -15,11 +15,31 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != name "> and `name` = #{name} </if>
<if test=" null != type1 "> and `type1` = #{type1} </if>
<if test=" null != type2 "> and `type2` = #{type2} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != name ">
and `name` like concat('%', #{name},'%')
</if>
<if test=" null != type1 ">
and `type1` like concat('%', #{type1},'%')
</if>
<if test=" null != type2 ">
and `type2` like concat('%', #{type2},'%')
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 21
- 5
mallinkService/src/main/resources/mapper/WxWebLogMapper.xml Zobrazit soubor

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.simple.mapper.WxWebLogMapper">
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxWebLog">
<id column="id" jdbcType="INTEGER" property="id" />
<id column="id" jdbcType="BIGINT" property="id" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="data" jdbcType="VARCHAR" property="data" />
<result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
@@ -14,10 +14,26 @@

<sql id="dynamicWhereConditions">
where 1 = 1
<if test=" null != id "> and `id` = #{id} </if>
<if test=" null != tenantId "> and `tenant_id` = #{tenantId} </if>
<if test=" null != data "> and `data` = #{data} </if>
<if test=" null != createDate "> and `create_date` = #{createDate} </if>
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` like concat('%', #{tenantId},'%')
</if>
<if test=" null != data ">
and `data` like concat('%', #{data},'%')
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


Načítá se…
Zrušit
Uložit