提交代码

yy_dev
胡锐 1 year ago
parent b7b84c8fd4
commit abbdd786bd
  1. 208
      bweb/src/main/java/com/bweb/controller/TestController.java
  2. 63
      cweb/src/main/java/com/cweb/controller/BsBankActivityController.java
  3. 139
      cweb/src/main/java/com/cweb/controller/TestController.java
  4. 147
      service/src/main/java/com/hfkj/dao/BsBankActivityMapper.java
  5. 7
      service/src/main/java/com/hfkj/dao/BsBankActivityMapperExt.java
  6. 402
      service/src/main/java/com/hfkj/dao/BsBankActivitySqlProvider.java
  7. 312
      service/src/main/java/com/hfkj/entity/BsBankActivity.java
  8. 1323
      service/src/main/java/com/hfkj/entity/BsBankActivityExample.java
  9. 50
      service/src/main/resources/dev/commonConfig.properties

@ -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<BsStore> 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);
}
}
}

@ -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);
}
}
}

@ -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<BsStore> 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<String> 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<String, Object> rate;
return ResponseMsgUtil.success(jsonArray);
/* Map<String, Object> rate;
List<Map<String,Object>> rates = new ArrayList<>();
for (Object obj : jsonArray) {

@ -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<BsBankActivity> 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);
}

@ -0,0 +1,7 @@
package com.hfkj.dao;
/**
* mapper扩展类
*/
public interface BsBankActivityMapperExt {
}

@ -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<String, Object> 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<String, Object> 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<Criteria> 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<Criterion> 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());
}
}
}

@ -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();
}
}

@ -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

Loading…
Cancel
Save