From abbdd786bd7532f32897b5aa0504ec05cdf85697 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Wed, 17 May 2023 12:03:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/bweb/controller/TestController.java | 208 +++ .../controller/BsBankActivityController.java | 63 + .../com/cweb/controller/TestController.java | 139 +- .../com/hfkj/dao/BsBankActivityMapper.java | 147 ++ .../com/hfkj/dao/BsBankActivityMapperExt.java | 7 + .../hfkj/dao/BsBankActivitySqlProvider.java | 402 +++++ .../java/com/hfkj/entity/BsBankActivity.java | 312 ++++ .../hfkj/entity/BsBankActivityExample.java | 1323 +++++++++++++++++ .../resources/dev/commonConfig.properties | 50 +- 9 files changed, 2607 insertions(+), 44 deletions(-) create mode 100644 bweb/src/main/java/com/bweb/controller/TestController.java create mode 100644 cweb/src/main/java/com/cweb/controller/BsBankActivityController.java create mode 100644 service/src/main/java/com/hfkj/dao/BsBankActivityMapper.java create mode 100644 service/src/main/java/com/hfkj/dao/BsBankActivityMapperExt.java create mode 100644 service/src/main/java/com/hfkj/dao/BsBankActivitySqlProvider.java create mode 100644 service/src/main/java/com/hfkj/entity/BsBankActivity.java create mode 100644 service/src/main/java/com/hfkj/entity/BsBankActivityExample.java diff --git a/bweb/src/main/java/com/bweb/controller/TestController.java b/bweb/src/main/java/com/bweb/controller/TestController.java new file mode 100644 index 0000000..0bbdfd4 --- /dev/null +++ b/bweb/src/main/java/com/bweb/controller/TestController.java @@ -0,0 +1,208 @@ +package com.bweb.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.hfkj.channel.alipay.utils.AlipayRequest; +import com.hfkj.channel.lakala.LaKaLaLedgerService; +import com.hfkj.channel.lakala.LaKaLaMerService; +import com.hfkj.channel.lakala.LaKaLaTradeSeparateService; +import com.hfkj.channel.lakala.LaKaLaTradeService; +import com.hfkj.channel.lakala.config.LaKaLaConfig; +import com.hfkj.channel.saas.SaasActivityService; +import com.hfkj.channel.saas.SaasMerService; +import com.hfkj.channel.saas.utils.SaasCommon; +import com.hfkj.channel.saas.utils.SaasMerRequest; +import com.hfkj.channel.weixin.WeiXinMerService; +import com.hfkj.channel.weixin.utils.WxUtils; +import com.hfkj.channel.weixin.utils.sdk.WXPayConstants; +import com.hfkj.common.utils.DateUtil; +import com.hfkj.common.utils.HttpsUtils; +import com.hfkj.common.utils.ResponseMsgUtil; +import com.hfkj.config.CommonSysConst; +import com.hfkj.config.device.SoundService; +import com.hfkj.config.mqtt.MqttProviderService; +import com.hfkj.entity.*; +import com.hfkj.model.MerBasisModel; +import com.hfkj.model.ResponseData; +import com.hfkj.service.*; +import com.hfkj.sysenum.MerStatusEnum; +import com.hfkj.sysenum.PlatformTypeEnum; +import com.hfkj.sysenum.StoreCreateTypeEnum; +import com.hfkj.sysenum.StoreStatusEnum; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.apache.commons.collections4.MapUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; + +import javax.annotation.Resource; +import java.io.File; +import java.math.BigDecimal; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Controller +@RequestMapping(value = "/test") +@Api(value = "测试") +public class TestController { + + private static Logger log = LoggerFactory.getLogger(TestController.class); + + @Resource + private WeiXinMerService weiXinMerService; + + @Resource + private MqttProviderService mqttProviderService; + + @Resource + private SoundService soundService; + + @Resource + private SaasCommon saasCommon; + + @Resource + private SaasMerRequest saasMerRequest; + + @Resource + private SaasMerService saasMerService; + + @Resource + private LaKaLaTradeService laKaLaTradeService; + + @Resource + private LaKaLaTradeSeparateService laKaLaTradeSeparateService; + + @Resource + private CommonService commonService; + + @Resource + private BsLklMccService lklMccService; + @Resource + private LaKaLaLedgerService laKaLaLedgerService; + @Resource + private LaKaLaMerService laKaLaMerService; + @Resource + private BsTradeOrderService tradeOrderService; + @Resource + private BsTradeOrderProfitSharingService tradeOrderProfitSharingService; + @Resource + private BsMerService merService; + + @Resource + private SaasActivityService saasActivityService; + + @Resource + private BsMerPlatformNoService merPlatformNoService; + @Resource + private BsMerContractRecordMsgService merContractRecordMsgService; + @Resource + private BsMerContractRecordService merContractRecordService; + @Resource + private BsMerPlatformTermService merPlatformTermService; + @Resource + private BsStoreService storeService; + + @RequestMapping(value="/refreshMerStatus",method = RequestMethod.GET) + @ResponseBody + @ApiOperation(value = "refreshMerStatus") + public ResponseData refreshMerStatus(@RequestParam(value = "orderNo", required = true) String orderNo) { + try { + + BsMerContractRecord contractRecord = merContractRecordService.getRecordByOrderNo(orderNo); + + BsMer mer = merService.getMer(contractRecord.getMerId()); + if (mer != null && mer.getMerStatus().equals(MerStatusEnum.status3.getNumber())) { + BsMerPlatformNo platform = merPlatformNoService.getPlatformNo(mer.getId(), PlatformTypeEnum.type1); + if (platform != null) { + JSONObject merchantInfo = saasMerService.merchantInfo(platform.getPlatformNo()); + // 查询申请记录 + BsMerContractRecordMsg msg = new BsMerContractRecordMsg(); + msg.setOrderNo(contractRecord.getOrderNo()); + msg.setType(1); + msg.setResponseContent(merchantInfo.toJSONString()); + merContractRecordMsgService.insertRecordMsg(msg); + + JSONObject customer = merchantInfo.getJSONObject("customer"); + // 商户状态 OPEN:开通,CLOSE:关闭,LOSS:流失, REJECT:拒绝。可用值:OPEN,ACTIVITY,WAIT_COMMIT,WAIT_AUDI,REJECT, CLOSE,INIT + if (customer.getString("customerStatus").equals("OPEN")) { + contractRecord.setStatus(2); + merContractRecordService.updateRecord(contractRecord); + + mer.setMerStatus(MerStatusEnum.status1.getNumber()); + merService.editMer(mer); + + List storeList = storeService.getStoreByMerId(mer.getId(), StoreCreateTypeEnum.type1); + if (storeList.size() > 0) { + BsStore store = storeList.get(0); + store.setStatus(StoreStatusEnum.status2.getNumber()); + storeService.editStore(store); + } + platform.setCupNo(customer.getString("externalCustomerNo")); + merPlatformNoService.editMerPlatformNo(platform); + + // 终端信息 + BsMerPlatformTerm term = new BsMerPlatformTerm(); + term.setMerPlatformNoId(platform.getId()); + term.setMerId(platform.getMerId()); + term.setActiveNo(customer.getString("activeNo")); + term.setBusiTypeCode(customer.getString("bzPos")); + term.setBusiTypeName("码牌"); + term.setProductCode(customer.getString("bzPos")); + term.setProductName("码牌"); + term.setTermNo(customer.getString("termNo")); + merPlatformTermService.editMerPlatformTerm(term); + + JSONArray terminalList = merchantInfo.getJSONArray("terminalInfo"); + for (Object terminalObj : terminalList) { + JSONObject terminal = (JSONObject) terminalObj; + // 终端编号 + JSONArray termNoList = terminal.getJSONArray("termNoList"); + for (Object termNo : termNoList) { + term = new BsMerPlatformTerm(); + term.setMerPlatformNoId(platform.getId()); + term.setMerId(platform.getMerId()); + term.setActiveNo(customer.getString("activeNo")); + term.setBusiTypeCode(terminal.getString("termTypeCode")); + term.setBusiTypeName(terminal.getString("termTypeName")); + term.setProductCode(terminal.getString("termTypeCode")); + term.setProductName(terminal.getString("termTypeName")); + term.setTermId(terminal.getString("coreTermId")); + term.setTermNo(termNo.toString()); + merPlatformTermService.editMerPlatformTerm(term); + } + } + + } else if (customer.getString("customerStatus").equals("REJECT")) { + contractRecord.setStatus(3); + merContractRecordService.updateRecord(contractRecord); + + mer.setMerStatus(MerStatusEnum.status4.getNumber()); + merService.editMer(mer); + + BsMerContractRecordMsg merContractRecordMsg = new BsMerContractRecordMsg(); + merContractRecordMsg.setOrderNo(contractRecord.getOrderNo()); + merContractRecordMsg.setType(1); + merContractRecordMsg.setResponseCode(customer.getString("customerStatus")); + merContractRecordMsg.setResponseMsg(customer.getString("auditRemark")); + merContractRecordMsg.setResponseMsg(customer.getString("auditRemark")); + merContractRecordMsgService.insertRecordMsg(merContractRecordMsg); + } + } + } + + return ResponseMsgUtil.success("操作成功"); + + } catch (Exception e) { + log.error(e.getMessage(), e); + return ResponseMsgUtil.exception(e); + } + } + +} diff --git a/cweb/src/main/java/com/cweb/controller/BsBankActivityController.java b/cweb/src/main/java/com/cweb/controller/BsBankActivityController.java new file mode 100644 index 0000000..2c62921 --- /dev/null +++ b/cweb/src/main/java/com/cweb/controller/BsBankActivityController.java @@ -0,0 +1,63 @@ +package com.cweb.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.github.pagehelper.PageHelper; +import com.github.pagehelper.PageInfo; +import com.hfkj.channel.saas.SaasActivityService; +import com.hfkj.common.exception.ErrorCode; +import com.hfkj.common.exception.ErrorHelp; +import com.hfkj.common.exception.SysCode; +import com.hfkj.common.security.UserCenter; +import com.hfkj.common.utils.ResponseMsgUtil; +import com.hfkj.entity.BsAudit; +import com.hfkj.model.ResponseData; +import com.hfkj.model.UserInfoModel; +import com.hfkj.service.BsAuditService; +import com.hfkj.sysenum.AuditStatusEnum; +import com.hfkj.sysenum.SecUserTypeEnum; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.apache.commons.lang3.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import java.util.HashMap; +import java.util.Map; + +@Controller +@Api(value = "银行权益活动") +@RequestMapping(value = "/bankActivity") +public class BsBankActivityController { + + private static Logger log = LoggerFactory.getLogger(BsBankActivityController.class); + + @Resource + private UserCenter userCenter; + @Resource + private BsAuditService auditService; + + @Resource + private SaasActivityService saasActivityService; + @RequestMapping(value="/queryActivityList",method = RequestMethod.POST) + @ResponseBody + @ApiOperation(value = "获取活动列表") + public ResponseData queryActivityList(@RequestParam(value = "merId" , required = true) Long merId) { + try { + + JSONArray activityList = saasActivityService.queryAgentActivityList(); + for (Object obj : activityList) { + + } + return ResponseMsgUtil.success(activityList); + + } catch (Exception e) { + log.error(e.getMessage(), e); + return ResponseMsgUtil.exception(e); + } + } + +} diff --git a/cweb/src/main/java/com/cweb/controller/TestController.java b/cweb/src/main/java/com/cweb/controller/TestController.java index 145eb36..430aa56 100644 --- a/cweb/src/main/java/com/cweb/controller/TestController.java +++ b/cweb/src/main/java/com/cweb/controller/TestController.java @@ -30,14 +30,11 @@ import com.hfkj.common.utils.ResponseMsgUtil; import com.hfkj.config.CommonSysConst; import com.hfkj.config.device.SoundService; import com.hfkj.config.mqtt.MqttProviderService; -import com.hfkj.entity.BsLklMcc; -import com.hfkj.entity.BsTradeOrder; -import com.hfkj.entity.BsTradeOrderProfitSharing; -import com.hfkj.entity.SecRegion; +import com.hfkj.entity.*; import com.hfkj.model.MerBasisModel; import com.hfkj.model.ResponseData; import com.hfkj.service.*; -import com.hfkj.sysenum.MerTypeEnum; +import com.hfkj.sysenum.*; import freemarker.template.Configuration; import freemarker.template.Template; import freemarker.template.TemplateException; @@ -110,6 +107,113 @@ public class TestController { @Resource private SaasActivityService saasActivityService; + @Resource + private BsMerPlatformNoService merPlatformNoService; + @Resource + private BsMerContractRecordMsgService merContractRecordMsgService; + @Resource + private BsMerContractRecordService merContractRecordService; + @Resource + private BsMerPlatformTermService merPlatformTermService; + @Resource + private BsStoreService storeService; + + @RequestMapping(value="/refreshMerStatus",method = RequestMethod.GET) + @ResponseBody + @ApiOperation(value = "refreshMerStatus") + public ResponseData refreshMerStatus(@RequestParam(value = "orderNo", required = true) String orderNo) { + try { + + BsMerContractRecord contractRecord = merContractRecordService.getRecordByOrderNo(orderNo); + + BsMer mer = merService.getMer(contractRecord.getMerId()); + if (mer != null && mer.getMerStatus().equals(MerStatusEnum.status3.getNumber())) { + BsMerPlatformNo platform = merPlatformNoService.getPlatformNo(mer.getId(), PlatformTypeEnum.type1); + if (platform != null) { + JSONObject merchantInfo = saasMerService.merchantInfo(platform.getPlatformNo()); + // 查询申请记录 + BsMerContractRecordMsg msg = new BsMerContractRecordMsg(); + msg.setOrderNo(contractRecord.getOrderNo()); + msg.setType(1); + msg.setResponseContent(merchantInfo.toJSONString()); + merContractRecordMsgService.insertRecordMsg(msg); + + JSONObject customer = merchantInfo.getJSONObject("customer"); + // 商户状态 OPEN:开通,CLOSE:关闭,LOSS:流失, REJECT:拒绝。可用值:OPEN,ACTIVITY,WAIT_COMMIT,WAIT_AUDI,REJECT, CLOSE,INIT + if (customer.getString("customerStatus").equals("OPEN")) { + contractRecord.setStatus(2); + merContractRecordService.updateRecord(contractRecord); + + mer.setMerStatus(MerStatusEnum.status1.getNumber()); + merService.editMer(mer); + + List storeList = storeService.getStoreByMerId(mer.getId(), StoreCreateTypeEnum.type1); + if (storeList.size() > 0) { + BsStore store = storeList.get(0); + store.setStatus(StoreStatusEnum.status2.getNumber()); + storeService.editStore(store); + } + platform.setCupNo(customer.getString("externalCustomerNo")); + merPlatformNoService.editMerPlatformNo(platform); + + // 终端信息 + BsMerPlatformTerm term = new BsMerPlatformTerm(); + term.setMerPlatformNoId(platform.getId()); + term.setMerId(platform.getMerId()); + term.setActiveNo(customer.getString("activeNo")); + term.setBusiTypeCode(customer.getString("bzPos")); + term.setBusiTypeName("码牌"); + term.setProductCode(customer.getString("bzPos")); + term.setProductName("码牌"); + term.setTermNo(customer.getString("termNo")); + merPlatformTermService.editMerPlatformTerm(term); + + JSONArray terminalList = merchantInfo.getJSONArray("terminalInfo"); + for (Object terminalObj : terminalList) { + JSONObject terminal = (JSONObject) terminalObj; + // 终端编号 + JSONArray termNoList = terminal.getJSONArray("termNoList"); + for (Object termNo : termNoList) { + term = new BsMerPlatformTerm(); + term.setMerPlatformNoId(platform.getId()); + term.setMerId(platform.getMerId()); + term.setActiveNo(customer.getString("activeNo")); + term.setBusiTypeCode(terminal.getString("termTypeCode")); + term.setBusiTypeName(terminal.getString("termTypeName")); + term.setProductCode(terminal.getString("termTypeCode")); + term.setProductName(terminal.getString("termTypeName")); + term.setTermId(terminal.getString("coreTermId")); + term.setTermNo(termNo.toString()); + merPlatformTermService.editMerPlatformTerm(term); + } + } + + } else if (customer.getString("customerStatus").equals("REJECT")) { + contractRecord.setStatus(3); + merContractRecordService.updateRecord(contractRecord); + + mer.setMerStatus(MerStatusEnum.status4.getNumber()); + merService.editMer(mer); + + BsMerContractRecordMsg merContractRecordMsg = new BsMerContractRecordMsg(); + merContractRecordMsg.setOrderNo(contractRecord.getOrderNo()); + merContractRecordMsg.setType(1); + merContractRecordMsg.setResponseCode(customer.getString("customerStatus")); + merContractRecordMsg.setResponseMsg(customer.getString("auditRemark")); + merContractRecordMsg.setResponseMsg(customer.getString("auditRemark")); + merContractRecordMsgService.insertRecordMsg(merContractRecordMsg); + } + } + } + + return ResponseMsgUtil.success("操作成功"); + + } catch (Exception e) { + log.error(e.getMessage(), e); + return ResponseMsgUtil.exception(e); + } + } + @RequestMapping(value="/saasGetToken",method = RequestMethod.GET) @ResponseBody @ApiOperation(value = "saasGetToken") @@ -144,7 +248,7 @@ public class TestController { //laKaLaTradeSeparateService.separate("1530202304261049572195600000"); // tradeOrderProfitSharingService.createProfitSharing(tradeOrderService.getOrderByOutTradeNo("ZF1130202304261734049211335408")); // return ResponseMsgUtil.success(saasCommon.getUpdateToken()); - return ResponseMsgUtil.success(saasMerService.updateSettleApply(38L)); + return ResponseMsgUtil.success(saasMerService.merchantInfo("123300981")); // return ResponseMsgUtil.success(""); // 1200 // return ResponseMsgUtil.success(saasCommon.fileUpload(new HashMap<>())); @@ -300,30 +404,27 @@ public class TestController { @RequestMapping(value="/saasActivity",method = RequestMethod.GET) @ResponseBody @ApiOperation(value = "saasActivity") - public ResponseData saasActivity() { + public ResponseData saasActivity(@RequestParam(value = "code", required = false) String code) { try { // return ResponseMsgUtil.success(saasActivityService.queryAgentActivityStatus("73")); + // return ResponseMsgUtil.success(saasActivityService.agentRegisterActivity("73")); + // return ResponseMsgUtil.success(saasActivityService.queryAgentActivityList()); + // return ResponseMsgUtil.success(saasActivityService.queryCustomerActivityStatus("73", "8226900445800HB")); + /*********** 活动报名 *************/ /* List externalCustomerNos = new ArrayList<>(); - externalCustomerNos.add("8226900581219V0"); - externalCustomerNos.add("8226900445800HB"); + externalCustomerNos.add("822690058121B9V"); return ResponseMsgUtil.success(saasActivityService.customerRegisterActivity("73", null, externalCustomerNos)); */ - // return ResponseMsgUtil.success(saasActivityService.agentRegisterActivity("73")); - return ResponseMsgUtil.success(saasActivityService.queryAgentActivityList()); - // return ResponseMsgUtil.success(saasActivityService.queryCustomerActivityStatus("73", "8226900445800HB")); - /******* 配置活动费率 *******/ -/* String activityId = "73"; - String externalCustomerNo = "8226900445800HB"; - + String activityId = "73"; + String externalCustomerNo = code; JSONArray jsonArray = saasActivityService.queryCustomerRates(activityId, externalCustomerNo); - - return ResponseMsgUtil.success(jsonArray);*/ - /* Map rate; + return ResponseMsgUtil.success(jsonArray); +/* Map rate; List> rates = new ArrayList<>(); for (Object obj : jsonArray) { diff --git a/service/src/main/java/com/hfkj/dao/BsBankActivityMapper.java b/service/src/main/java/com/hfkj/dao/BsBankActivityMapper.java new file mode 100644 index 0000000..3b63ab5 --- /dev/null +++ b/service/src/main/java/com/hfkj/dao/BsBankActivityMapper.java @@ -0,0 +1,147 @@ +package com.hfkj.dao; + +import com.hfkj.entity.BsBankActivity; +import com.hfkj.entity.BsBankActivityExample; +import java.util.List; +import org.apache.ibatis.annotations.Delete; +import org.apache.ibatis.annotations.DeleteProvider; +import org.apache.ibatis.annotations.Insert; +import org.apache.ibatis.annotations.InsertProvider; +import org.apache.ibatis.annotations.Options; +import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.annotations.Result; +import org.apache.ibatis.annotations.Results; +import org.apache.ibatis.annotations.Select; +import org.apache.ibatis.annotations.SelectProvider; +import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.UpdateProvider; +import org.apache.ibatis.type.JdbcType; +import org.springframework.stereotype.Repository; + +/** + * + * 代码由工具生成,请勿修改!!! + * 如果需要扩展请在其父类进行扩展 + * + **/ +@Repository +public interface BsBankActivityMapper extends BsBankActivityMapperExt { + @SelectProvider(type=BsBankActivitySqlProvider.class, method="countByExample") + long countByExample(BsBankActivityExample example); + + @DeleteProvider(type=BsBankActivitySqlProvider.class, method="deleteByExample") + int deleteByExample(BsBankActivityExample example); + + @Delete({ + "delete from bs_bank_activity", + "where id = #{id,jdbcType=BIGINT}" + }) + int deleteByPrimaryKey(Long id); + + @Insert({ + "insert into bs_bank_activity (regions, activity_no, ", + "activity_name, pos_scope, ", + "effective_start, effective_snd, ", + "registration_start, registration_end, ", + "details, comments, ", + "`status`, create_time, ", + "update_time, ext_1, ", + "ext_2, ext_3)", + "values (#{regions,jdbcType=VARCHAR}, #{activityNo,jdbcType=INTEGER}, ", + "#{activityName,jdbcType=VARCHAR}, #{posScope,jdbcType=VARCHAR}, ", + "#{effectiveStart,jdbcType=TIMESTAMP}, #{effectiveSnd,jdbcType=TIMESTAMP}, ", + "#{registrationStart,jdbcType=TIMESTAMP}, #{registrationEnd,jdbcType=TIMESTAMP}, ", + "#{details,jdbcType=VARCHAR}, #{comments,jdbcType=VARCHAR}, ", + "#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", + "#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", + "#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" + }) + @Options(useGeneratedKeys=true,keyProperty="id") + int insert(BsBankActivity record); + + @InsertProvider(type=BsBankActivitySqlProvider.class, method="insertSelective") + @Options(useGeneratedKeys=true,keyProperty="id") + int insertSelective(BsBankActivity record); + + @SelectProvider(type=BsBankActivitySqlProvider.class, method="selectByExample") + @Results({ + @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), + @Result(column="regions", property="regions", jdbcType=JdbcType.VARCHAR), + @Result(column="activity_no", property="activityNo", jdbcType=JdbcType.INTEGER), + @Result(column="activity_name", property="activityName", jdbcType=JdbcType.VARCHAR), + @Result(column="pos_scope", property="posScope", jdbcType=JdbcType.VARCHAR), + @Result(column="effective_start", property="effectiveStart", jdbcType=JdbcType.TIMESTAMP), + @Result(column="effective_snd", property="effectiveSnd", jdbcType=JdbcType.TIMESTAMP), + @Result(column="registration_start", property="registrationStart", jdbcType=JdbcType.TIMESTAMP), + @Result(column="registration_end", property="registrationEnd", jdbcType=JdbcType.TIMESTAMP), + @Result(column="details", property="details", jdbcType=JdbcType.VARCHAR), + @Result(column="comments", property="comments", jdbcType=JdbcType.VARCHAR), + @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), + @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) + }) + List selectByExample(BsBankActivityExample example); + + @Select({ + "select", + "id, regions, activity_no, activity_name, pos_scope, effective_start, effective_snd, ", + "registration_start, registration_end, details, comments, `status`, create_time, ", + "update_time, ext_1, ext_2, ext_3", + "from bs_bank_activity", + "where id = #{id,jdbcType=BIGINT}" + }) + @Results({ + @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), + @Result(column="regions", property="regions", jdbcType=JdbcType.VARCHAR), + @Result(column="activity_no", property="activityNo", jdbcType=JdbcType.INTEGER), + @Result(column="activity_name", property="activityName", jdbcType=JdbcType.VARCHAR), + @Result(column="pos_scope", property="posScope", jdbcType=JdbcType.VARCHAR), + @Result(column="effective_start", property="effectiveStart", jdbcType=JdbcType.TIMESTAMP), + @Result(column="effective_snd", property="effectiveSnd", jdbcType=JdbcType.TIMESTAMP), + @Result(column="registration_start", property="registrationStart", jdbcType=JdbcType.TIMESTAMP), + @Result(column="registration_end", property="registrationEnd", jdbcType=JdbcType.TIMESTAMP), + @Result(column="details", property="details", jdbcType=JdbcType.VARCHAR), + @Result(column="comments", property="comments", jdbcType=JdbcType.VARCHAR), + @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), + @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) + }) + BsBankActivity selectByPrimaryKey(Long id); + + @UpdateProvider(type=BsBankActivitySqlProvider.class, method="updateByExampleSelective") + int updateByExampleSelective(@Param("record") BsBankActivity record, @Param("example") BsBankActivityExample example); + + @UpdateProvider(type=BsBankActivitySqlProvider.class, method="updateByExample") + int updateByExample(@Param("record") BsBankActivity record, @Param("example") BsBankActivityExample example); + + @UpdateProvider(type=BsBankActivitySqlProvider.class, method="updateByPrimaryKeySelective") + int updateByPrimaryKeySelective(BsBankActivity record); + + @Update({ + "update bs_bank_activity", + "set regions = #{regions,jdbcType=VARCHAR},", + "activity_no = #{activityNo,jdbcType=INTEGER},", + "activity_name = #{activityName,jdbcType=VARCHAR},", + "pos_scope = #{posScope,jdbcType=VARCHAR},", + "effective_start = #{effectiveStart,jdbcType=TIMESTAMP},", + "effective_snd = #{effectiveSnd,jdbcType=TIMESTAMP},", + "registration_start = #{registrationStart,jdbcType=TIMESTAMP},", + "registration_end = #{registrationEnd,jdbcType=TIMESTAMP},", + "details = #{details,jdbcType=VARCHAR},", + "comments = #{comments,jdbcType=VARCHAR},", + "`status` = #{status,jdbcType=INTEGER},", + "create_time = #{createTime,jdbcType=TIMESTAMP},", + "update_time = #{updateTime,jdbcType=TIMESTAMP},", + "ext_1 = #{ext1,jdbcType=VARCHAR},", + "ext_2 = #{ext2,jdbcType=VARCHAR},", + "ext_3 = #{ext3,jdbcType=VARCHAR}", + "where id = #{id,jdbcType=BIGINT}" + }) + int updateByPrimaryKey(BsBankActivity record); +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/dao/BsBankActivityMapperExt.java b/service/src/main/java/com/hfkj/dao/BsBankActivityMapperExt.java new file mode 100644 index 0000000..66cab6b --- /dev/null +++ b/service/src/main/java/com/hfkj/dao/BsBankActivityMapperExt.java @@ -0,0 +1,7 @@ +package com.hfkj.dao; + +/** + * mapper扩展类 + */ +public interface BsBankActivityMapperExt { +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/dao/BsBankActivitySqlProvider.java b/service/src/main/java/com/hfkj/dao/BsBankActivitySqlProvider.java new file mode 100644 index 0000000..d9fb3e1 --- /dev/null +++ b/service/src/main/java/com/hfkj/dao/BsBankActivitySqlProvider.java @@ -0,0 +1,402 @@ +package com.hfkj.dao; + +import com.hfkj.entity.BsBankActivity; +import com.hfkj.entity.BsBankActivityExample.Criteria; +import com.hfkj.entity.BsBankActivityExample.Criterion; +import com.hfkj.entity.BsBankActivityExample; +import java.util.List; +import java.util.Map; +import org.apache.ibatis.jdbc.SQL; + +public class BsBankActivitySqlProvider { + + public String countByExample(BsBankActivityExample example) { + SQL sql = new SQL(); + sql.SELECT("count(*)").FROM("bs_bank_activity"); + applyWhere(sql, example, false); + return sql.toString(); + } + + public String deleteByExample(BsBankActivityExample example) { + SQL sql = new SQL(); + sql.DELETE_FROM("bs_bank_activity"); + applyWhere(sql, example, false); + return sql.toString(); + } + + public String insertSelective(BsBankActivity record) { + SQL sql = new SQL(); + sql.INSERT_INTO("bs_bank_activity"); + + if (record.getRegions() != null) { + sql.VALUES("regions", "#{regions,jdbcType=VARCHAR}"); + } + + if (record.getActivityNo() != null) { + sql.VALUES("activity_no", "#{activityNo,jdbcType=INTEGER}"); + } + + if (record.getActivityName() != null) { + sql.VALUES("activity_name", "#{activityName,jdbcType=VARCHAR}"); + } + + if (record.getPosScope() != null) { + sql.VALUES("pos_scope", "#{posScope,jdbcType=VARCHAR}"); + } + + if (record.getEffectiveStart() != null) { + sql.VALUES("effective_start", "#{effectiveStart,jdbcType=TIMESTAMP}"); + } + + if (record.getEffectiveSnd() != null) { + sql.VALUES("effective_snd", "#{effectiveSnd,jdbcType=TIMESTAMP}"); + } + + if (record.getRegistrationStart() != null) { + sql.VALUES("registration_start", "#{registrationStart,jdbcType=TIMESTAMP}"); + } + + if (record.getRegistrationEnd() != null) { + sql.VALUES("registration_end", "#{registrationEnd,jdbcType=TIMESTAMP}"); + } + + if (record.getDetails() != null) { + sql.VALUES("details", "#{details,jdbcType=VARCHAR}"); + } + + if (record.getComments() != null) { + sql.VALUES("comments", "#{comments,jdbcType=VARCHAR}"); + } + + if (record.getStatus() != null) { + sql.VALUES("`status`", "#{status,jdbcType=INTEGER}"); + } + + if (record.getCreateTime() != null) { + sql.VALUES("create_time", "#{createTime,jdbcType=TIMESTAMP}"); + } + + if (record.getUpdateTime() != null) { + sql.VALUES("update_time", "#{updateTime,jdbcType=TIMESTAMP}"); + } + + if (record.getExt1() != null) { + sql.VALUES("ext_1", "#{ext1,jdbcType=VARCHAR}"); + } + + if (record.getExt2() != null) { + sql.VALUES("ext_2", "#{ext2,jdbcType=VARCHAR}"); + } + + if (record.getExt3() != null) { + sql.VALUES("ext_3", "#{ext3,jdbcType=VARCHAR}"); + } + + return sql.toString(); + } + + public String selectByExample(BsBankActivityExample example) { + SQL sql = new SQL(); + if (example != null && example.isDistinct()) { + sql.SELECT_DISTINCT("id"); + } else { + sql.SELECT("id"); + } + sql.SELECT("regions"); + sql.SELECT("activity_no"); + sql.SELECT("activity_name"); + sql.SELECT("pos_scope"); + sql.SELECT("effective_start"); + sql.SELECT("effective_snd"); + sql.SELECT("registration_start"); + sql.SELECT("registration_end"); + sql.SELECT("details"); + sql.SELECT("comments"); + sql.SELECT("`status`"); + sql.SELECT("create_time"); + sql.SELECT("update_time"); + sql.SELECT("ext_1"); + sql.SELECT("ext_2"); + sql.SELECT("ext_3"); + sql.FROM("bs_bank_activity"); + applyWhere(sql, example, false); + + if (example != null && example.getOrderByClause() != null) { + sql.ORDER_BY(example.getOrderByClause()); + } + + return sql.toString(); + } + + public String updateByExampleSelective(Map parameter) { + BsBankActivity record = (BsBankActivity) parameter.get("record"); + BsBankActivityExample example = (BsBankActivityExample) parameter.get("example"); + + SQL sql = new SQL(); + sql.UPDATE("bs_bank_activity"); + + if (record.getId() != null) { + sql.SET("id = #{record.id,jdbcType=BIGINT}"); + } + + if (record.getRegions() != null) { + sql.SET("regions = #{record.regions,jdbcType=VARCHAR}"); + } + + if (record.getActivityNo() != null) { + sql.SET("activity_no = #{record.activityNo,jdbcType=INTEGER}"); + } + + if (record.getActivityName() != null) { + sql.SET("activity_name = #{record.activityName,jdbcType=VARCHAR}"); + } + + if (record.getPosScope() != null) { + sql.SET("pos_scope = #{record.posScope,jdbcType=VARCHAR}"); + } + + if (record.getEffectiveStart() != null) { + sql.SET("effective_start = #{record.effectiveStart,jdbcType=TIMESTAMP}"); + } + + if (record.getEffectiveSnd() != null) { + sql.SET("effective_snd = #{record.effectiveSnd,jdbcType=TIMESTAMP}"); + } + + if (record.getRegistrationStart() != null) { + sql.SET("registration_start = #{record.registrationStart,jdbcType=TIMESTAMP}"); + } + + if (record.getRegistrationEnd() != null) { + sql.SET("registration_end = #{record.registrationEnd,jdbcType=TIMESTAMP}"); + } + + if (record.getDetails() != null) { + sql.SET("details = #{record.details,jdbcType=VARCHAR}"); + } + + if (record.getComments() != null) { + sql.SET("comments = #{record.comments,jdbcType=VARCHAR}"); + } + + if (record.getStatus() != null) { + sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); + } + + if (record.getCreateTime() != null) { + sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); + } + + if (record.getUpdateTime() != null) { + sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); + } + + if (record.getExt1() != null) { + sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}"); + } + + if (record.getExt2() != null) { + sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}"); + } + + if (record.getExt3() != null) { + sql.SET("ext_3 = #{record.ext3,jdbcType=VARCHAR}"); + } + + applyWhere(sql, example, true); + return sql.toString(); + } + + public String updateByExample(Map parameter) { + SQL sql = new SQL(); + sql.UPDATE("bs_bank_activity"); + + sql.SET("id = #{record.id,jdbcType=BIGINT}"); + sql.SET("regions = #{record.regions,jdbcType=VARCHAR}"); + sql.SET("activity_no = #{record.activityNo,jdbcType=INTEGER}"); + sql.SET("activity_name = #{record.activityName,jdbcType=VARCHAR}"); + sql.SET("pos_scope = #{record.posScope,jdbcType=VARCHAR}"); + sql.SET("effective_start = #{record.effectiveStart,jdbcType=TIMESTAMP}"); + sql.SET("effective_snd = #{record.effectiveSnd,jdbcType=TIMESTAMP}"); + sql.SET("registration_start = #{record.registrationStart,jdbcType=TIMESTAMP}"); + sql.SET("registration_end = #{record.registrationEnd,jdbcType=TIMESTAMP}"); + sql.SET("details = #{record.details,jdbcType=VARCHAR}"); + sql.SET("comments = #{record.comments,jdbcType=VARCHAR}"); + sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); + sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); + sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); + sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}"); + sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}"); + sql.SET("ext_3 = #{record.ext3,jdbcType=VARCHAR}"); + + BsBankActivityExample example = (BsBankActivityExample) parameter.get("example"); + applyWhere(sql, example, true); + return sql.toString(); + } + + public String updateByPrimaryKeySelective(BsBankActivity record) { + SQL sql = new SQL(); + sql.UPDATE("bs_bank_activity"); + + if (record.getRegions() != null) { + sql.SET("regions = #{regions,jdbcType=VARCHAR}"); + } + + if (record.getActivityNo() != null) { + sql.SET("activity_no = #{activityNo,jdbcType=INTEGER}"); + } + + if (record.getActivityName() != null) { + sql.SET("activity_name = #{activityName,jdbcType=VARCHAR}"); + } + + if (record.getPosScope() != null) { + sql.SET("pos_scope = #{posScope,jdbcType=VARCHAR}"); + } + + if (record.getEffectiveStart() != null) { + sql.SET("effective_start = #{effectiveStart,jdbcType=TIMESTAMP}"); + } + + if (record.getEffectiveSnd() != null) { + sql.SET("effective_snd = #{effectiveSnd,jdbcType=TIMESTAMP}"); + } + + if (record.getRegistrationStart() != null) { + sql.SET("registration_start = #{registrationStart,jdbcType=TIMESTAMP}"); + } + + if (record.getRegistrationEnd() != null) { + sql.SET("registration_end = #{registrationEnd,jdbcType=TIMESTAMP}"); + } + + if (record.getDetails() != null) { + sql.SET("details = #{details,jdbcType=VARCHAR}"); + } + + if (record.getComments() != null) { + sql.SET("comments = #{comments,jdbcType=VARCHAR}"); + } + + if (record.getStatus() != null) { + sql.SET("`status` = #{status,jdbcType=INTEGER}"); + } + + if (record.getCreateTime() != null) { + sql.SET("create_time = #{createTime,jdbcType=TIMESTAMP}"); + } + + if (record.getUpdateTime() != null) { + sql.SET("update_time = #{updateTime,jdbcType=TIMESTAMP}"); + } + + if (record.getExt1() != null) { + sql.SET("ext_1 = #{ext1,jdbcType=VARCHAR}"); + } + + if (record.getExt2() != null) { + sql.SET("ext_2 = #{ext2,jdbcType=VARCHAR}"); + } + + if (record.getExt3() != null) { + sql.SET("ext_3 = #{ext3,jdbcType=VARCHAR}"); + } + + sql.WHERE("id = #{id,jdbcType=BIGINT}"); + + return sql.toString(); + } + + protected void applyWhere(SQL sql, BsBankActivityExample example, boolean includeExamplePhrase) { + if (example == null) { + return; + } + + String parmPhrase1; + String parmPhrase1_th; + String parmPhrase2; + String parmPhrase2_th; + String parmPhrase3; + String parmPhrase3_th; + if (includeExamplePhrase) { + parmPhrase1 = "%s #{example.oredCriteria[%d].allCriteria[%d].value}"; + parmPhrase1_th = "%s #{example.oredCriteria[%d].allCriteria[%d].value,typeHandler=%s}"; + parmPhrase2 = "%s #{example.oredCriteria[%d].allCriteria[%d].value} and #{example.oredCriteria[%d].criteria[%d].secondValue}"; + parmPhrase2_th = "%s #{example.oredCriteria[%d].allCriteria[%d].value,typeHandler=%s} and #{example.oredCriteria[%d].criteria[%d].secondValue,typeHandler=%s}"; + parmPhrase3 = "#{example.oredCriteria[%d].allCriteria[%d].value[%d]}"; + parmPhrase3_th = "#{example.oredCriteria[%d].allCriteria[%d].value[%d],typeHandler=%s}"; + } else { + parmPhrase1 = "%s #{oredCriteria[%d].allCriteria[%d].value}"; + parmPhrase1_th = "%s #{oredCriteria[%d].allCriteria[%d].value,typeHandler=%s}"; + parmPhrase2 = "%s #{oredCriteria[%d].allCriteria[%d].value} and #{oredCriteria[%d].criteria[%d].secondValue}"; + parmPhrase2_th = "%s #{oredCriteria[%d].allCriteria[%d].value,typeHandler=%s} and #{oredCriteria[%d].criteria[%d].secondValue,typeHandler=%s}"; + parmPhrase3 = "#{oredCriteria[%d].allCriteria[%d].value[%d]}"; + parmPhrase3_th = "#{oredCriteria[%d].allCriteria[%d].value[%d],typeHandler=%s}"; + } + + StringBuilder sb = new StringBuilder(); + List oredCriteria = example.getOredCriteria(); + boolean firstCriteria = true; + for (int i = 0; i < oredCriteria.size(); i++) { + Criteria criteria = oredCriteria.get(i); + if (criteria.isValid()) { + if (firstCriteria) { + firstCriteria = false; + } else { + sb.append(" or "); + } + + sb.append('('); + List criterions = criteria.getAllCriteria(); + boolean firstCriterion = true; + for (int j = 0; j < criterions.size(); j++) { + Criterion criterion = criterions.get(j); + if (firstCriterion) { + firstCriterion = false; + } else { + sb.append(" and "); + } + + if (criterion.isNoValue()) { + sb.append(criterion.getCondition()); + } else if (criterion.isSingleValue()) { + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase1, criterion.getCondition(), i, j)); + } else { + sb.append(String.format(parmPhrase1_th, criterion.getCondition(), i, j,criterion.getTypeHandler())); + } + } else if (criterion.isBetweenValue()) { + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase2, criterion.getCondition(), i, j, i, j)); + } else { + sb.append(String.format(parmPhrase2_th, criterion.getCondition(), i, j, criterion.getTypeHandler(), i, j, criterion.getTypeHandler())); + } + } else if (criterion.isListValue()) { + sb.append(criterion.getCondition()); + sb.append(" ("); + List listItems = (List) criterion.getValue(); + boolean comma = false; + for (int k = 0; k < listItems.size(); k++) { + if (comma) { + sb.append(", "); + } else { + comma = true; + } + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase3, i, j, k)); + } else { + sb.append(String.format(parmPhrase3_th, i, j, k, criterion.getTypeHandler())); + } + } + sb.append(')'); + } + } + sb.append(')'); + } + } + + if (sb.length() > 0) { + sql.WHERE(sb.toString()); + } + } +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/entity/BsBankActivity.java b/service/src/main/java/com/hfkj/entity/BsBankActivity.java new file mode 100644 index 0000000..33fc5e0 --- /dev/null +++ b/service/src/main/java/com/hfkj/entity/BsBankActivity.java @@ -0,0 +1,312 @@ +package com.hfkj.entity; + +import java.io.Serializable; +import java.util.Date; + +/** + * bs_bank_activity + * @author + */ +/** + * + * 代码由工具生成 + * + **/ +public class BsBankActivity implements Serializable { + /** + * 主键 + */ + private Long id; + + /** + * 活动限制地区 + */ + private String regions; + + /** + * 活动编号 + */ + private Integer activityNo; + + /** + * 活动名称 + */ + private String activityName; + + /** + * 产品类型 + */ + private String posScope; + + /** + * 有效期开始 + */ + private Date effectiveStart; + + /** + * 有效期结束 + */ + private Date effectiveSnd; + + /** + * 报名开始 + */ + private Date registrationStart; + + /** + * 报名结束 + */ + private Date registrationEnd; + + /** + * 详情 + */ + private String details; + + /** + * 备注 + */ + private String comments; + + /** + * 状态 0:不可用 1:正常 + */ + private Integer status; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 更新时间 + */ + private Date updateTime; + + private String ext1; + + private String ext2; + + private String ext3; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getRegions() { + return regions; + } + + public void setRegions(String regions) { + this.regions = regions; + } + + public Integer getActivityNo() { + return activityNo; + } + + public void setActivityNo(Integer activityNo) { + this.activityNo = activityNo; + } + + public String getActivityName() { + return activityName; + } + + public void setActivityName(String activityName) { + this.activityName = activityName; + } + + public String getPosScope() { + return posScope; + } + + public void setPosScope(String posScope) { + this.posScope = posScope; + } + + public Date getEffectiveStart() { + return effectiveStart; + } + + public void setEffectiveStart(Date effectiveStart) { + this.effectiveStart = effectiveStart; + } + + public Date getEffectiveSnd() { + return effectiveSnd; + } + + public void setEffectiveSnd(Date effectiveSnd) { + this.effectiveSnd = effectiveSnd; + } + + public Date getRegistrationStart() { + return registrationStart; + } + + public void setRegistrationStart(Date registrationStart) { + this.registrationStart = registrationStart; + } + + public Date getRegistrationEnd() { + return registrationEnd; + } + + public void setRegistrationEnd(Date registrationEnd) { + this.registrationEnd = registrationEnd; + } + + public String getDetails() { + return details; + } + + public void setDetails(String details) { + this.details = details; + } + + public String getComments() { + return comments; + } + + public void setComments(String comments) { + this.comments = comments; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getExt1() { + return ext1; + } + + public void setExt1(String ext1) { + this.ext1 = ext1; + } + + public String getExt2() { + return ext2; + } + + public void setExt2(String ext2) { + this.ext2 = ext2; + } + + public String getExt3() { + return ext3; + } + + public void setExt3(String ext3) { + this.ext3 = ext3; + } + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + BsBankActivity other = (BsBankActivity) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getRegions() == null ? other.getRegions() == null : this.getRegions().equals(other.getRegions())) + && (this.getActivityNo() == null ? other.getActivityNo() == null : this.getActivityNo().equals(other.getActivityNo())) + && (this.getActivityName() == null ? other.getActivityName() == null : this.getActivityName().equals(other.getActivityName())) + && (this.getPosScope() == null ? other.getPosScope() == null : this.getPosScope().equals(other.getPosScope())) + && (this.getEffectiveStart() == null ? other.getEffectiveStart() == null : this.getEffectiveStart().equals(other.getEffectiveStart())) + && (this.getEffectiveSnd() == null ? other.getEffectiveSnd() == null : this.getEffectiveSnd().equals(other.getEffectiveSnd())) + && (this.getRegistrationStart() == null ? other.getRegistrationStart() == null : this.getRegistrationStart().equals(other.getRegistrationStart())) + && (this.getRegistrationEnd() == null ? other.getRegistrationEnd() == null : this.getRegistrationEnd().equals(other.getRegistrationEnd())) + && (this.getDetails() == null ? other.getDetails() == null : this.getDetails().equals(other.getDetails())) + && (this.getComments() == null ? other.getComments() == null : this.getComments().equals(other.getComments())) + && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) + && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) + && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) + && (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1())) + && (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2())) + && (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getRegions() == null) ? 0 : getRegions().hashCode()); + result = prime * result + ((getActivityNo() == null) ? 0 : getActivityNo().hashCode()); + result = prime * result + ((getActivityName() == null) ? 0 : getActivityName().hashCode()); + result = prime * result + ((getPosScope() == null) ? 0 : getPosScope().hashCode()); + result = prime * result + ((getEffectiveStart() == null) ? 0 : getEffectiveStart().hashCode()); + result = prime * result + ((getEffectiveSnd() == null) ? 0 : getEffectiveSnd().hashCode()); + result = prime * result + ((getRegistrationStart() == null) ? 0 : getRegistrationStart().hashCode()); + result = prime * result + ((getRegistrationEnd() == null) ? 0 : getRegistrationEnd().hashCode()); + result = prime * result + ((getDetails() == null) ? 0 : getDetails().hashCode()); + result = prime * result + ((getComments() == null) ? 0 : getComments().hashCode()); + result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); + result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); + result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); + result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode()); + result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode()); + result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", regions=").append(regions); + sb.append(", activityNo=").append(activityNo); + sb.append(", activityName=").append(activityName); + sb.append(", posScope=").append(posScope); + sb.append(", effectiveStart=").append(effectiveStart); + sb.append(", effectiveSnd=").append(effectiveSnd); + sb.append(", registrationStart=").append(registrationStart); + sb.append(", registrationEnd=").append(registrationEnd); + sb.append(", details=").append(details); + sb.append(", comments=").append(comments); + sb.append(", status=").append(status); + sb.append(", createTime=").append(createTime); + sb.append(", updateTime=").append(updateTime); + sb.append(", ext1=").append(ext1); + sb.append(", ext2=").append(ext2); + sb.append(", ext3=").append(ext3); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/entity/BsBankActivityExample.java b/service/src/main/java/com/hfkj/entity/BsBankActivityExample.java new file mode 100644 index 0000000..a49afa2 --- /dev/null +++ b/service/src/main/java/com/hfkj/entity/BsBankActivityExample.java @@ -0,0 +1,1323 @@ +package com.hfkj.entity; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class BsBankActivityExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + private Integer limit; + + private Long offset; + + public BsBankActivityExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Integer getLimit() { + return limit; + } + + public void setOffset(Long offset) { + this.offset = offset; + } + + public Long getOffset() { + return offset; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andRegionsIsNull() { + addCriterion("regions is null"); + return (Criteria) this; + } + + public Criteria andRegionsIsNotNull() { + addCriterion("regions is not null"); + return (Criteria) this; + } + + public Criteria andRegionsEqualTo(String value) { + addCriterion("regions =", value, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsNotEqualTo(String value) { + addCriterion("regions <>", value, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsGreaterThan(String value) { + addCriterion("regions >", value, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsGreaterThanOrEqualTo(String value) { + addCriterion("regions >=", value, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsLessThan(String value) { + addCriterion("regions <", value, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsLessThanOrEqualTo(String value) { + addCriterion("regions <=", value, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsLike(String value) { + addCriterion("regions like", value, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsNotLike(String value) { + addCriterion("regions not like", value, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsIn(List values) { + addCriterion("regions in", values, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsNotIn(List values) { + addCriterion("regions not in", values, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsBetween(String value1, String value2) { + addCriterion("regions between", value1, value2, "regions"); + return (Criteria) this; + } + + public Criteria andRegionsNotBetween(String value1, String value2) { + addCriterion("regions not between", value1, value2, "regions"); + return (Criteria) this; + } + + public Criteria andActivityNoIsNull() { + addCriterion("activity_no is null"); + return (Criteria) this; + } + + public Criteria andActivityNoIsNotNull() { + addCriterion("activity_no is not null"); + return (Criteria) this; + } + + public Criteria andActivityNoEqualTo(Integer value) { + addCriterion("activity_no =", value, "activityNo"); + return (Criteria) this; + } + + public Criteria andActivityNoNotEqualTo(Integer value) { + addCriterion("activity_no <>", value, "activityNo"); + return (Criteria) this; + } + + public Criteria andActivityNoGreaterThan(Integer value) { + addCriterion("activity_no >", value, "activityNo"); + return (Criteria) this; + } + + public Criteria andActivityNoGreaterThanOrEqualTo(Integer value) { + addCriterion("activity_no >=", value, "activityNo"); + return (Criteria) this; + } + + public Criteria andActivityNoLessThan(Integer value) { + addCriterion("activity_no <", value, "activityNo"); + return (Criteria) this; + } + + public Criteria andActivityNoLessThanOrEqualTo(Integer value) { + addCriterion("activity_no <=", value, "activityNo"); + return (Criteria) this; + } + + public Criteria andActivityNoIn(List values) { + addCriterion("activity_no in", values, "activityNo"); + return (Criteria) this; + } + + public Criteria andActivityNoNotIn(List values) { + addCriterion("activity_no not in", values, "activityNo"); + return (Criteria) this; + } + + public Criteria andActivityNoBetween(Integer value1, Integer value2) { + addCriterion("activity_no between", value1, value2, "activityNo"); + return (Criteria) this; + } + + public Criteria andActivityNoNotBetween(Integer value1, Integer value2) { + addCriterion("activity_no not between", value1, value2, "activityNo"); + return (Criteria) this; + } + + public Criteria andActivityNameIsNull() { + addCriterion("activity_name is null"); + return (Criteria) this; + } + + public Criteria andActivityNameIsNotNull() { + addCriterion("activity_name is not null"); + return (Criteria) this; + } + + public Criteria andActivityNameEqualTo(String value) { + addCriterion("activity_name =", value, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameNotEqualTo(String value) { + addCriterion("activity_name <>", value, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameGreaterThan(String value) { + addCriterion("activity_name >", value, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameGreaterThanOrEqualTo(String value) { + addCriterion("activity_name >=", value, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameLessThan(String value) { + addCriterion("activity_name <", value, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameLessThanOrEqualTo(String value) { + addCriterion("activity_name <=", value, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameLike(String value) { + addCriterion("activity_name like", value, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameNotLike(String value) { + addCriterion("activity_name not like", value, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameIn(List values) { + addCriterion("activity_name in", values, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameNotIn(List values) { + addCriterion("activity_name not in", values, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameBetween(String value1, String value2) { + addCriterion("activity_name between", value1, value2, "activityName"); + return (Criteria) this; + } + + public Criteria andActivityNameNotBetween(String value1, String value2) { + addCriterion("activity_name not between", value1, value2, "activityName"); + return (Criteria) this; + } + + public Criteria andPosScopeIsNull() { + addCriterion("pos_scope is null"); + return (Criteria) this; + } + + public Criteria andPosScopeIsNotNull() { + addCriterion("pos_scope is not null"); + return (Criteria) this; + } + + public Criteria andPosScopeEqualTo(String value) { + addCriterion("pos_scope =", value, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeNotEqualTo(String value) { + addCriterion("pos_scope <>", value, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeGreaterThan(String value) { + addCriterion("pos_scope >", value, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeGreaterThanOrEqualTo(String value) { + addCriterion("pos_scope >=", value, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeLessThan(String value) { + addCriterion("pos_scope <", value, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeLessThanOrEqualTo(String value) { + addCriterion("pos_scope <=", value, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeLike(String value) { + addCriterion("pos_scope like", value, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeNotLike(String value) { + addCriterion("pos_scope not like", value, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeIn(List values) { + addCriterion("pos_scope in", values, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeNotIn(List values) { + addCriterion("pos_scope not in", values, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeBetween(String value1, String value2) { + addCriterion("pos_scope between", value1, value2, "posScope"); + return (Criteria) this; + } + + public Criteria andPosScopeNotBetween(String value1, String value2) { + addCriterion("pos_scope not between", value1, value2, "posScope"); + return (Criteria) this; + } + + public Criteria andEffectiveStartIsNull() { + addCriterion("effective_start is null"); + return (Criteria) this; + } + + public Criteria andEffectiveStartIsNotNull() { + addCriterion("effective_start is not null"); + return (Criteria) this; + } + + public Criteria andEffectiveStartEqualTo(Date value) { + addCriterion("effective_start =", value, "effectiveStart"); + return (Criteria) this; + } + + public Criteria andEffectiveStartNotEqualTo(Date value) { + addCriterion("effective_start <>", value, "effectiveStart"); + return (Criteria) this; + } + + public Criteria andEffectiveStartGreaterThan(Date value) { + addCriterion("effective_start >", value, "effectiveStart"); + return (Criteria) this; + } + + public Criteria andEffectiveStartGreaterThanOrEqualTo(Date value) { + addCriterion("effective_start >=", value, "effectiveStart"); + return (Criteria) this; + } + + public Criteria andEffectiveStartLessThan(Date value) { + addCriterion("effective_start <", value, "effectiveStart"); + return (Criteria) this; + } + + public Criteria andEffectiveStartLessThanOrEqualTo(Date value) { + addCriterion("effective_start <=", value, "effectiveStart"); + return (Criteria) this; + } + + public Criteria andEffectiveStartIn(List values) { + addCriterion("effective_start in", values, "effectiveStart"); + return (Criteria) this; + } + + public Criteria andEffectiveStartNotIn(List values) { + addCriterion("effective_start not in", values, "effectiveStart"); + return (Criteria) this; + } + + public Criteria andEffectiveStartBetween(Date value1, Date value2) { + addCriterion("effective_start between", value1, value2, "effectiveStart"); + return (Criteria) this; + } + + public Criteria andEffectiveStartNotBetween(Date value1, Date value2) { + addCriterion("effective_start not between", value1, value2, "effectiveStart"); + return (Criteria) this; + } + + public Criteria andEffectiveSndIsNull() { + addCriterion("effective_snd is null"); + return (Criteria) this; + } + + public Criteria andEffectiveSndIsNotNull() { + addCriterion("effective_snd is not null"); + return (Criteria) this; + } + + public Criteria andEffectiveSndEqualTo(Date value) { + addCriterion("effective_snd =", value, "effectiveSnd"); + return (Criteria) this; + } + + public Criteria andEffectiveSndNotEqualTo(Date value) { + addCriterion("effective_snd <>", value, "effectiveSnd"); + return (Criteria) this; + } + + public Criteria andEffectiveSndGreaterThan(Date value) { + addCriterion("effective_snd >", value, "effectiveSnd"); + return (Criteria) this; + } + + public Criteria andEffectiveSndGreaterThanOrEqualTo(Date value) { + addCriterion("effective_snd >=", value, "effectiveSnd"); + return (Criteria) this; + } + + public Criteria andEffectiveSndLessThan(Date value) { + addCriterion("effective_snd <", value, "effectiveSnd"); + return (Criteria) this; + } + + public Criteria andEffectiveSndLessThanOrEqualTo(Date value) { + addCriterion("effective_snd <=", value, "effectiveSnd"); + return (Criteria) this; + } + + public Criteria andEffectiveSndIn(List values) { + addCriterion("effective_snd in", values, "effectiveSnd"); + return (Criteria) this; + } + + public Criteria andEffectiveSndNotIn(List values) { + addCriterion("effective_snd not in", values, "effectiveSnd"); + return (Criteria) this; + } + + public Criteria andEffectiveSndBetween(Date value1, Date value2) { + addCriterion("effective_snd between", value1, value2, "effectiveSnd"); + return (Criteria) this; + } + + public Criteria andEffectiveSndNotBetween(Date value1, Date value2) { + addCriterion("effective_snd not between", value1, value2, "effectiveSnd"); + return (Criteria) this; + } + + public Criteria andRegistrationStartIsNull() { + addCriterion("registration_start is null"); + return (Criteria) this; + } + + public Criteria andRegistrationStartIsNotNull() { + addCriterion("registration_start is not null"); + return (Criteria) this; + } + + public Criteria andRegistrationStartEqualTo(Date value) { + addCriterion("registration_start =", value, "registrationStart"); + return (Criteria) this; + } + + public Criteria andRegistrationStartNotEqualTo(Date value) { + addCriterion("registration_start <>", value, "registrationStart"); + return (Criteria) this; + } + + public Criteria andRegistrationStartGreaterThan(Date value) { + addCriterion("registration_start >", value, "registrationStart"); + return (Criteria) this; + } + + public Criteria andRegistrationStartGreaterThanOrEqualTo(Date value) { + addCriterion("registration_start >=", value, "registrationStart"); + return (Criteria) this; + } + + public Criteria andRegistrationStartLessThan(Date value) { + addCriterion("registration_start <", value, "registrationStart"); + return (Criteria) this; + } + + public Criteria andRegistrationStartLessThanOrEqualTo(Date value) { + addCriterion("registration_start <=", value, "registrationStart"); + return (Criteria) this; + } + + public Criteria andRegistrationStartIn(List values) { + addCriterion("registration_start in", values, "registrationStart"); + return (Criteria) this; + } + + public Criteria andRegistrationStartNotIn(List values) { + addCriterion("registration_start not in", values, "registrationStart"); + return (Criteria) this; + } + + public Criteria andRegistrationStartBetween(Date value1, Date value2) { + addCriterion("registration_start between", value1, value2, "registrationStart"); + return (Criteria) this; + } + + public Criteria andRegistrationStartNotBetween(Date value1, Date value2) { + addCriterion("registration_start not between", value1, value2, "registrationStart"); + return (Criteria) this; + } + + public Criteria andRegistrationEndIsNull() { + addCriterion("registration_end is null"); + return (Criteria) this; + } + + public Criteria andRegistrationEndIsNotNull() { + addCriterion("registration_end is not null"); + return (Criteria) this; + } + + public Criteria andRegistrationEndEqualTo(Date value) { + addCriterion("registration_end =", value, "registrationEnd"); + return (Criteria) this; + } + + public Criteria andRegistrationEndNotEqualTo(Date value) { + addCriterion("registration_end <>", value, "registrationEnd"); + return (Criteria) this; + } + + public Criteria andRegistrationEndGreaterThan(Date value) { + addCriterion("registration_end >", value, "registrationEnd"); + return (Criteria) this; + } + + public Criteria andRegistrationEndGreaterThanOrEqualTo(Date value) { + addCriterion("registration_end >=", value, "registrationEnd"); + return (Criteria) this; + } + + public Criteria andRegistrationEndLessThan(Date value) { + addCriterion("registration_end <", value, "registrationEnd"); + return (Criteria) this; + } + + public Criteria andRegistrationEndLessThanOrEqualTo(Date value) { + addCriterion("registration_end <=", value, "registrationEnd"); + return (Criteria) this; + } + + public Criteria andRegistrationEndIn(List values) { + addCriterion("registration_end in", values, "registrationEnd"); + return (Criteria) this; + } + + public Criteria andRegistrationEndNotIn(List values) { + addCriterion("registration_end not in", values, "registrationEnd"); + return (Criteria) this; + } + + public Criteria andRegistrationEndBetween(Date value1, Date value2) { + addCriterion("registration_end between", value1, value2, "registrationEnd"); + return (Criteria) this; + } + + public Criteria andRegistrationEndNotBetween(Date value1, Date value2) { + addCriterion("registration_end not between", value1, value2, "registrationEnd"); + return (Criteria) this; + } + + public Criteria andDetailsIsNull() { + addCriterion("details is null"); + return (Criteria) this; + } + + public Criteria andDetailsIsNotNull() { + addCriterion("details is not null"); + return (Criteria) this; + } + + public Criteria andDetailsEqualTo(String value) { + addCriterion("details =", value, "details"); + return (Criteria) this; + } + + public Criteria andDetailsNotEqualTo(String value) { + addCriterion("details <>", value, "details"); + return (Criteria) this; + } + + public Criteria andDetailsGreaterThan(String value) { + addCriterion("details >", value, "details"); + return (Criteria) this; + } + + public Criteria andDetailsGreaterThanOrEqualTo(String value) { + addCriterion("details >=", value, "details"); + return (Criteria) this; + } + + public Criteria andDetailsLessThan(String value) { + addCriterion("details <", value, "details"); + return (Criteria) this; + } + + public Criteria andDetailsLessThanOrEqualTo(String value) { + addCriterion("details <=", value, "details"); + return (Criteria) this; + } + + public Criteria andDetailsLike(String value) { + addCriterion("details like", value, "details"); + return (Criteria) this; + } + + public Criteria andDetailsNotLike(String value) { + addCriterion("details not like", value, "details"); + return (Criteria) this; + } + + public Criteria andDetailsIn(List values) { + addCriterion("details in", values, "details"); + return (Criteria) this; + } + + public Criteria andDetailsNotIn(List values) { + addCriterion("details not in", values, "details"); + return (Criteria) this; + } + + public Criteria andDetailsBetween(String value1, String value2) { + addCriterion("details between", value1, value2, "details"); + return (Criteria) this; + } + + public Criteria andDetailsNotBetween(String value1, String value2) { + addCriterion("details not between", value1, value2, "details"); + return (Criteria) this; + } + + public Criteria andCommentsIsNull() { + addCriterion("comments is null"); + return (Criteria) this; + } + + public Criteria andCommentsIsNotNull() { + addCriterion("comments is not null"); + return (Criteria) this; + } + + public Criteria andCommentsEqualTo(String value) { + addCriterion("comments =", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsNotEqualTo(String value) { + addCriterion("comments <>", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsGreaterThan(String value) { + addCriterion("comments >", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsGreaterThanOrEqualTo(String value) { + addCriterion("comments >=", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsLessThan(String value) { + addCriterion("comments <", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsLessThanOrEqualTo(String value) { + addCriterion("comments <=", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsLike(String value) { + addCriterion("comments like", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsNotLike(String value) { + addCriterion("comments not like", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsIn(List values) { + addCriterion("comments in", values, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsNotIn(List values) { + addCriterion("comments not in", values, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsBetween(String value1, String value2) { + addCriterion("comments between", value1, value2, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsNotBetween(String value1, String value2) { + addCriterion("comments not between", value1, value2, "comments"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("`status` is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("`status` is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("`status` =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("`status` <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("`status` >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("`status` >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("`status` <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("`status` <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("`status` in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("`status` not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("`status` between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("`status` not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andExt1IsNull() { + addCriterion("ext_1 is null"); + return (Criteria) this; + } + + public Criteria andExt1IsNotNull() { + addCriterion("ext_1 is not null"); + return (Criteria) this; + } + + public Criteria andExt1EqualTo(String value) { + addCriterion("ext_1 =", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1NotEqualTo(String value) { + addCriterion("ext_1 <>", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1GreaterThan(String value) { + addCriterion("ext_1 >", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1GreaterThanOrEqualTo(String value) { + addCriterion("ext_1 >=", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1LessThan(String value) { + addCriterion("ext_1 <", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1LessThanOrEqualTo(String value) { + addCriterion("ext_1 <=", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1Like(String value) { + addCriterion("ext_1 like", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1NotLike(String value) { + addCriterion("ext_1 not like", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1In(List values) { + addCriterion("ext_1 in", values, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1NotIn(List values) { + addCriterion("ext_1 not in", values, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1Between(String value1, String value2) { + addCriterion("ext_1 between", value1, value2, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1NotBetween(String value1, String value2) { + addCriterion("ext_1 not between", value1, value2, "ext1"); + return (Criteria) this; + } + + public Criteria andExt2IsNull() { + addCriterion("ext_2 is null"); + return (Criteria) this; + } + + public Criteria andExt2IsNotNull() { + addCriterion("ext_2 is not null"); + return (Criteria) this; + } + + public Criteria andExt2EqualTo(String value) { + addCriterion("ext_2 =", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2NotEqualTo(String value) { + addCriterion("ext_2 <>", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2GreaterThan(String value) { + addCriterion("ext_2 >", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2GreaterThanOrEqualTo(String value) { + addCriterion("ext_2 >=", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2LessThan(String value) { + addCriterion("ext_2 <", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2LessThanOrEqualTo(String value) { + addCriterion("ext_2 <=", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2Like(String value) { + addCriterion("ext_2 like", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2NotLike(String value) { + addCriterion("ext_2 not like", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2In(List values) { + addCriterion("ext_2 in", values, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2NotIn(List values) { + addCriterion("ext_2 not in", values, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2Between(String value1, String value2) { + addCriterion("ext_2 between", value1, value2, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2NotBetween(String value1, String value2) { + addCriterion("ext_2 not between", value1, value2, "ext2"); + return (Criteria) this; + } + + public Criteria andExt3IsNull() { + addCriterion("ext_3 is null"); + return (Criteria) this; + } + + public Criteria andExt3IsNotNull() { + addCriterion("ext_3 is not null"); + return (Criteria) this; + } + + public Criteria andExt3EqualTo(String value) { + addCriterion("ext_3 =", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3NotEqualTo(String value) { + addCriterion("ext_3 <>", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3GreaterThan(String value) { + addCriterion("ext_3 >", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3GreaterThanOrEqualTo(String value) { + addCriterion("ext_3 >=", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3LessThan(String value) { + addCriterion("ext_3 <", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3LessThanOrEqualTo(String value) { + addCriterion("ext_3 <=", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3Like(String value) { + addCriterion("ext_3 like", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3NotLike(String value) { + addCriterion("ext_3 not like", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3In(List values) { + addCriterion("ext_3 in", values, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3NotIn(List values) { + addCriterion("ext_3 not in", values, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3Between(String value1, String value2) { + addCriterion("ext_3 between", value1, value2, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3NotBetween(String value1, String value2) { + addCriterion("ext_3 not between", value1, value2, "ext3"); + return (Criteria) this; + } + } + + /** + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/service/src/main/resources/dev/commonConfig.properties b/service/src/main/resources/dev/commonConfig.properties index df4c6b1..4ce83b3 100644 --- a/service/src/main/resources/dev/commonConfig.properties +++ b/service/src/main/resources/dev/commonConfig.properties @@ -20,31 +20,31 @@ lkl_v2_private_key=/home/project/gratia-pay/cert/lakala/v2/OP00000003_private_ke lkl_mer_contract_ret_url=https://gratia-pay.dctpay.com/brest/laKaLaNotify/merContract lkl_micro_pay_ret_url=https://gratia-pay.dctpay.com/crest/laKaLaNotify/microPay -lkl_saas_client_id=testsit -lkl_saas_client_secret=EguwEckByf2I6u6z -lkl_saas_activity_id=37 -lkl_saas_user_no=20000101 -lkl_saas_request_url=https://test.wsmsd.cn/sit/ -lkl_saas_request_mer_registration_token_url=https://test.wsmsd.cn/sit/htkauth/oauth/token -lkl_saas_request_mer_registration_url=https://test.wsmsd.cn/sit/htkregistration/merchant/ -lkl_saas_request_mer_update_url=https://test.wsmsd.cn/sit/htk-api/ -lkl_saas_request_mer_registration_common_url=https://test.wsmsd.cn/sit/htkregistration/ -lkl_saas_request_mer_url=https://test.wsmsd.cn/sit/htkmerchants/ -lkl_saas_public_key=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCp5aV3ZiXG2R8Yd8Nxocv+cF7VAUHBc0TF4MNne7mI8wM2yEP2QgI+rK1qDf6G7ZFPhutpIHKQchpolbSuC0vgaHpSjO9OUs1fpnK/JjZq9o8DatUsA0n4Fccec9NBbV5dy5yrwro7xmDpsevp1/IeiIssi1+iD+nBWqqVFx7GVQIDAQAB -lkl_saas_private_key="MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAKnlpXdmJcbZHxh3w3Ghy/5wXtUBQcFzRMXgw2d7uYjzAzbIQ/ZCAj6srWoN/obtkU+G62kgcpByGmiVtK4LS+BoelKM705SzV+mcr8mNmr2jwNq1SwDSfgVxx5z00FtXl3LnKvCujvGYOmx6+nX8h6IiyyLX6IP6cFaqpUXHsZVAgMBAAECgYA4NpeM7etJ48T6H4Y3LsWEJkH6UDQlgbIblsaQkstMmLtTgOebrzN28UNfd8njcu9FVOrHGclOKbK7L+1cOLiduWsZKc/c/gAy9wAR4EhoLvlerH9EEPiPWFxdEDbMxPqlkpqLOo+PxHrhTn4vU4CaPdJtL2ujKn7nmsUdUDWo8QJBANS1TlM6nhPt2XlzN5kGfsJ4kBYNjuLXNA2YdNuC2ttYvEXHJ9T70FN/GnRBBIZu47uHH3Ie5nfep+qMk6a8RP8CQQDMecIyI0z1kVt+tOfWKw2ZFLsi74708qTaeR4W1ABtkngj1+bxoWWXr3KqhjqJkWxnhioSfXqu7CScNzjdM1CrAkAQd+ESjI1EmbumrYb2cAxMXi05p98SLPs4uj8B58WuCda5yEuLL9vXOxX/PjFtfxRepn2GxmGtki2J+UxNMnJdAkAFoORjlO0tZU7rcfdfwdeh+xwbnhSFUZiQGv1lC3jnizybX/oPdK3jOwUhBIjf+IzPXLYTxDh4UC/BzRNXo235AkEAhgYBk6H7RU2iIuvwz1c6CtE1gJ8DvEp1F0KOMWMFB0KCpDXUToix0dlMz962FozYENi4X4zYQo6nFwlXeS3Pfw== - -# kl_saas_client_id=huifu -# kl_saas_client_secret=f65VVjqJfLtc177F -# kl_saas_activity_id=12 -# kl_saas_user_no=22206482 -# kl_saas_request_url=https://tkapi.lakala.com/ -# kl_saas_request_mer_registration_token_url=https://tkapi.lakala.com/auth/oauth/token -# kl_saas_request_mer_registration_url=https://htkactvi.lakala.com/registration/merchant/ -# kl_saas_request_mer_update_url=https://htkapi.lakala.com/api/ -# kl_saas_request_mer_registration_common_url=https://htkactvi.lakala.com/registration/ -# kl_saas_request_mer_url=https://tkapi.lakala.com/htkmerchants/ -# kl_saas_public_key=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAUkzRA+4GOS5OzYqxD/UJwM6p9to1dPvetL/7RbMa93o46qToPlPtaW61EvblOldHcBEHo7AGXXKmIYr7t2Up1PZC0g7UMpno/b5WkT6ieJ601Xreuj8hhyf2/xoej5vpi4/+lAr9YF+5GcyaVf4gfzTNJrmKj9PfvX5B3rUH2QIDAQAB -# kl_saas_private_key=MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMBSTNED7gY5Lk7NirEP9QnAzqn22jV0+960v/tFsxr3ejjqpOg+U+1pbrUS9uU6V0dwEQejsAZdcqYhivu3ZSnU9kLSDtQymej9vlaRPqJ4nrTVet66PyGHJ/b/Gh6Pm+mLj/6UCv1gX7kZzJpV/iB/NM0muYqP09+9fkHetQfZAgMBAAECgYB42D3kaC+8QVnTsluffoNeKYSyT6Y1SNiqy7CGVvl/zFlEQkx0khVybHlf1hbFWq9U+Bn7TuNgXH+Z3CHUoRwy4Ap/kMx637iRatoC8F/kcPaiB7JFQfdrxhgK858dSyHCQ2OXXQDJgJdth+oF9FylVsrDu5Sw3ha4OuzrmufuwQJBAPnPPSeFr1wu7kH6I+A5E49fMbAm7EU+3TYVzxNH1lr3X/LWuK9pi/LVPrSR4eNgAypyQWREIqdpBIiJ9bOnwa0CQQDFFl0zTQTVTWf5r/hwgCUMo4gHr2y/q7XMNe6n5fh4SQuQ+o4gW+BGHzDrT97G5hFGPL+w5niGuEBHWSo5/9xdAkEAnrxdM7vzDjSUGUCFg3lBQJ1QyYoyIF4t2qxJBQtk3jDKu1hNysjasNdoHP2F+CGOYW5wtvHEw3Qr+UcQ5bP3kQJABPAcga6KUnXQBxd7mAX956UpQVgJ13uL4IPxaM+APDNIUOeWLAVhRyB870hfAoi9Ig9fliUQG//9zEvVnQJmGQJBAOb8Z0mGMEbEeAyEKjqoNiQkkIcoBdmPKNFUoUJ6ohcBNOoMfklvNsf2+BPfuhs26tvhYDBRgCAfOVhqTQcGj6I= +#lkl_saas_client_id=testsit +#lkl_saas_client_secret=EguwEckByf2I6u6z +#lkl_saas_activity_id=37 +#lkl_saas_user_no=20000101 +#lkl_saas_request_url=https://test.wsmsd.cn/sit/ +#lkl_saas_request_mer_registration_token_url=https://test.wsmsd.cn/sit/htkauth/oauth/token +#lkl_saas_request_mer_registration_url=https://test.wsmsd.cn/sit/htkregistration/merchant/ +#lkl_saas_request_mer_update_url=https://test.wsmsd.cn/sit/htk-api/ +#lkl_saas_request_mer_registration_common_url=https://test.wsmsd.cn/sit/htkregistration/ +#lkl_saas_request_mer_url=https://test.wsmsd.cn/sit/htkmerchants/ +#lkl_saas_public_key=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCp5aV3ZiXG2R8Yd8Nxocv+cF7VAUHBc0TF4MNne7mI8wM2yEP2QgI+rK1qDf6G7ZFPhutpIHKQchpolbSuC0vgaHpSjO9OUs1fpnK/JjZq9o8DatUsA0n4Fccec9NBbV5dy5yrwro7xmDpsevp1/IeiIssi1+iD+nBWqqVFx7GVQIDAQAB +#lkl_saas_private_key="MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAKnlpXdmJcbZHxh3w3Ghy/5wXtUBQcFzRMXgw2d7uYjzAzbIQ/ZCAj6srWoN/obtkU+G62kgcpByGmiVtK4LS+BoelKM705SzV+mcr8mNmr2jwNq1SwDSfgVxx5z00FtXl3LnKvCujvGYOmx6+nX8h6IiyyLX6IP6cFaqpUXHsZVAgMBAAECgYA4NpeM7etJ48T6H4Y3LsWEJkH6UDQlgbIblsaQkstMmLtTgOebrzN28UNfd8njcu9FVOrHGclOKbK7L+1cOLiduWsZKc/c/gAy9wAR4EhoLvlerH9EEPiPWFxdEDbMxPqlkpqLOo+PxHrhTn4vU4CaPdJtL2ujKn7nmsUdUDWo8QJBANS1TlM6nhPt2XlzN5kGfsJ4kBYNjuLXNA2YdNuC2ttYvEXHJ9T70FN/GnRBBIZu47uHH3Ie5nfep+qMk6a8RP8CQQDMecIyI0z1kVt+tOfWKw2ZFLsi74708qTaeR4W1ABtkngj1+bxoWWXr3KqhjqJkWxnhioSfXqu7CScNzjdM1CrAkAQd+ESjI1EmbumrYb2cAxMXi05p98SLPs4uj8B58WuCda5yEuLL9vXOxX/PjFtfxRepn2GxmGtki2J+UxNMnJdAkAFoORjlO0tZU7rcfdfwdeh+xwbnhSFUZiQGv1lC3jnizybX/oPdK3jOwUhBIjf+IzPXLYTxDh4UC/BzRNXo235AkEAhgYBk6H7RU2iIuvwz1c6CtE1gJ8DvEp1F0KOMWMFB0KCpDXUToix0dlMz962FozYENi4X4zYQo6nFwlXeS3Pfw== + +lkl_saas_client_id=huifu +lkl_saas_client_secret=f65VVjqJfLtc177F +lkl_saas_activity_id=12 +lkl_saas_user_no=22206482 +lkl_saas_request_url=https://tkapi.lakala.com/ +lkl_saas_request_mer_registration_token_url=https://tkapi.lakala.com/auth/oauth/token +lkl_saas_request_mer_registration_url=https://htkactvi.lakala.com/registration/merchant/ +lkl_saas_request_mer_update_url=https://htkapi.lakala.com/api/ +lkl_saas_request_mer_registration_common_url=https://htkactvi.lakala.com/registration/ +lkl_saas_request_mer_url=https://tkapi.lakala.com/htkmerchants/ +lkl_saas_public_key=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAUkzRA+4GOS5OzYqxD/UJwM6p9to1dPvetL/7RbMa93o46qToPlPtaW61EvblOldHcBEHo7AGXXKmIYr7t2Up1PZC0g7UMpno/b5WkT6ieJ601Xreuj8hhyf2/xoej5vpi4/+lAr9YF+5GcyaVf4gfzTNJrmKj9PfvX5B3rUH2QIDAQAB +lkl_saas_private_key=MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMBSTNED7gY5Lk7NirEP9QnAzqn22jV0+960v/tFsxr3ejjqpOg+U+1pbrUS9uU6V0dwEQejsAZdcqYhivu3ZSnU9kLSDtQymej9vlaRPqJ4nrTVet66PyGHJ/b/Gh6Pm+mLj/6UCv1gX7kZzJpV/iB/NM0muYqP09+9fkHetQfZAgMBAAECgYB42D3kaC+8QVnTsluffoNeKYSyT6Y1SNiqy7CGVvl/zFlEQkx0khVybHlf1hbFWq9U+Bn7TuNgXH+Z3CHUoRwy4Ap/kMx637iRatoC8F/kcPaiB7JFQfdrxhgK858dSyHCQ2OXXQDJgJdth+oF9FylVsrDu5Sw3ha4OuzrmufuwQJBAPnPPSeFr1wu7kH6I+A5E49fMbAm7EU+3TYVzxNH1lr3X/LWuK9pi/LVPrSR4eNgAypyQWREIqdpBIiJ9bOnwa0CQQDFFl0zTQTVTWf5r/hwgCUMo4gHr2y/q7XMNe6n5fh4SQuQ+o4gW+BGHzDrT97G5hFGPL+w5niGuEBHWSo5/9xdAkEAnrxdM7vzDjSUGUCFg3lBQJ1QyYoyIF4t2qxJBQtk3jDKu1hNysjasNdoHP2F+CGOYW5wtvHEw3Qr+UcQ5bP3kQJABPAcga6KUnXQBxd7mAX956UpQVgJ13uL4IPxaM+APDNIUOeWLAVhRyB870hfAoi9Ig9fliUQG//9zEvVnQJmGQJBAOb8Z0mGMEbEeAyEKjqoNiQkkIcoBdmPKNFUoUJ6ohcBNOoMfklvNsf2+BPfuhs26tvhYDBRgCAfOVhqTQcGj6I= wechat_pay_notify_url=https://gratia-pay.dctpay.com/crest/weiXinNotify/jsapiPay