1. 模板、名片、海报、缴费、查看记录、转发记录、名片收藏、栏目组、栏目、栏目设置、动态表单、动态表单数据等功能都增加了Mybatis二级缓存
This commit is contained in:
parent
13773d7fc0
commit
0ceb7c0997
@ -158,8 +158,6 @@ public class CardTemplateUseAppController extends DefaultBaseController {
|
|||||||
try {
|
try {
|
||||||
String userId = securityComponent.getAppTokenUser(token).getId();
|
String userId = securityComponent.getAppTokenUser(token).getId();
|
||||||
params.put("userId", userId);
|
params.put("userId", userId);
|
||||||
if(1 == 1)
|
|
||||||
throw new SearchException("测试");
|
|
||||||
}catch(Exception e) {
|
}catch(Exception e) {
|
||||||
throw new SearchException("没有登陆信息");
|
throw new SearchException("没有登陆信息");
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
package cn.com.tenlion.systemcard.pojo.bos.cardtemplate;
|
package cn.com.tenlion.systemcard.pojo.bos.cardtemplate;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @ClassName: CardTemplateBO
|
* @ClassName: CardTemplateBO
|
||||||
|
@ -3,6 +3,8 @@ package cn.com.tenlion.systemcard.pojo.dtos.cardcharge;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @ClassName: CardChargeDTO
|
* @ClassName: CardChargeDTO
|
||||||
@ -12,7 +14,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
* @Version: 3.0
|
* @Version: 3.0
|
||||||
**/
|
**/
|
||||||
@ApiModel
|
@ApiModel
|
||||||
public class CardChargeDTO {
|
public class CardChargeDTO implements Serializable {
|
||||||
|
|
||||||
@ApiModelProperty(name = "cardChargeId", value = "名片收费记录表")
|
@ApiModelProperty(name = "cardChargeId", value = "名片收费记录表")
|
||||||
private String cardChargeId;
|
private String cardChargeId;
|
||||||
|
@ -3,6 +3,8 @@ package cn.com.tenlion.systemcard.pojo.dtos.cardtemplate;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @ClassName: CardTemplateDTO
|
* @ClassName: CardTemplateDTO
|
||||||
@ -12,7 +14,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
* @Version: 3.0
|
* @Version: 3.0
|
||||||
**/
|
**/
|
||||||
@ApiModel
|
@ApiModel
|
||||||
public class CardTemplateDTO {
|
public class CardTemplateDTO implements Serializable {
|
||||||
|
|
||||||
@ApiModelProperty(name = "cardTemplateId", value = "模板")
|
@ApiModelProperty(name = "cardTemplateId", value = "模板")
|
||||||
private String cardTemplateId;
|
private String cardTemplateId;
|
||||||
|
@ -4,6 +4,8 @@ import cn.com.tenlion.systemcard.pojo.dtos.cardtemplateuse.CardTemplateUseDTO;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @ClassName: CardTemplateDispatchDTO
|
* @ClassName: CardTemplateDispatchDTO
|
||||||
@ -13,7 +15,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
* @Version: 3.0
|
* @Version: 3.0
|
||||||
**/
|
**/
|
||||||
@ApiModel
|
@ApiModel
|
||||||
public class CardTemplateDispatchDTO {
|
public class CardTemplateDispatchDTO implements Serializable {
|
||||||
|
|
||||||
@ApiModelProperty(name = "cardTemplateDispatchId", value = "名片转发")
|
@ApiModelProperty(name = "cardTemplateDispatchId", value = "名片转发")
|
||||||
private String cardTemplateDispatchId;
|
private String cardTemplateDispatchId;
|
||||||
|
@ -4,6 +4,8 @@ import cn.com.tenlion.systemcard.pojo.dtos.cardtemplateuse.CardTemplateUseDTO;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @ClassName: CardTemplateScansDTO
|
* @ClassName: CardTemplateScansDTO
|
||||||
@ -13,7 +15,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
* @Version: 3.0
|
* @Version: 3.0
|
||||||
**/
|
**/
|
||||||
@ApiModel
|
@ApiModel
|
||||||
public class CardTemplateScansDTO {
|
public class CardTemplateScansDTO implements Serializable {
|
||||||
|
|
||||||
@ApiModelProperty(name = "cardTemplateScansId", value = "名片查看")
|
@ApiModelProperty(name = "cardTemplateScansId", value = "名片查看")
|
||||||
private String cardTemplateScansId;
|
private String cardTemplateScansId;
|
||||||
|
@ -4,6 +4,7 @@ import cn.com.tenlion.systemcard.pojo.dtos.cardtemplateusearea.CardTemplateUseAr
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -16,7 +17,7 @@ import java.util.List;
|
|||||||
* @Version: 3.0
|
* @Version: 3.0
|
||||||
**/
|
**/
|
||||||
@ApiModel
|
@ApiModel
|
||||||
public class CardTemplateUseDTO {
|
public class CardTemplateUseDTO implements Serializable {
|
||||||
|
|
||||||
@ApiModelProperty(name = "cardTemplateUseId", value = "模板使用")
|
@ApiModelProperty(name = "cardTemplateUseId", value = "模板使用")
|
||||||
private String cardTemplateUseId;
|
private String cardTemplateUseId;
|
||||||
|
@ -3,6 +3,8 @@ package cn.com.tenlion.systemcard.pojo.dtos.cardtemplateusearea;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @ClassName: CardTemplateUseAreaDTO
|
* @ClassName: CardTemplateUseAreaDTO
|
||||||
@ -12,7 +14,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
* @Version: 3.0
|
* @Version: 3.0
|
||||||
**/
|
**/
|
||||||
@ApiModel
|
@ApiModel
|
||||||
public class CardTemplateUseAreaDTO {
|
public class CardTemplateUseAreaDTO implements Serializable {
|
||||||
|
|
||||||
@ApiModelProperty(name = "cardTemplateUseAreaId", value = "模板区域使用")
|
@ApiModelProperty(name = "cardTemplateUseAreaId", value = "模板区域使用")
|
||||||
private String cardTemplateUseAreaId;
|
private String cardTemplateUseAreaId;
|
||||||
|
@ -4,6 +4,8 @@ import cn.com.tenlion.systemcard.pojo.dtos.cardtemplateuse.CardTemplateUseDTO;
|
|||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @ClassName: CardTemplateUseBagDTO
|
* @ClassName: CardTemplateUseBagDTO
|
||||||
@ -13,7 +15,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
* @Version: 3.0
|
* @Version: 3.0
|
||||||
**/
|
**/
|
||||||
@ApiModel
|
@ApiModel
|
||||||
public class CardTemplateUseBagDTO {
|
public class CardTemplateUseBagDTO implements Serializable {
|
||||||
|
|
||||||
@ApiModelProperty(name = "cardTemplateUseBagId", value = "我的卡包")
|
@ApiModelProperty(name = "cardTemplateUseBagId", value = "我的卡包")
|
||||||
private String cardTemplateUseBagId;
|
private String cardTemplateUseBagId;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
package cn.com.tenlion.systemcard.pojo.pos.cardtemplate;
|
package cn.com.tenlion.systemcard.pojo.pos.cardtemplate;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @ClassName: CardTemplatePO
|
* @ClassName: CardTemplatePO
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.com.tenlion.systemcard.dao.cardcharge.ICardChargeDao">
|
<mapper namespace="cn.com.tenlion.systemcard.dao.cardcharge.ICardChargeDao">
|
||||||
|
|
||||||
|
<cache/>
|
||||||
|
|
||||||
<resultMap id="cardChargeDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardcharge.CardChargeDTO">
|
<resultMap id="cardChargeDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardcharge.CardChargeDTO">
|
||||||
<result column="card_charge_id" property="cardChargeId"/>
|
<result column="card_charge_id" property="cardChargeId"/>
|
||||||
<result column="card_charge_price" property="cardChargePrice"/>
|
<result column="card_charge_price" property="cardChargePrice"/>
|
||||||
@ -60,7 +62,7 @@
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<!-- 查询今日的充值记录-->
|
<!-- 查询今日的充值记录-->
|
||||||
<select id="getToDayList" parameterType="map" resultMap="cardChargeDTO">
|
<select id="getToDayList" parameterType="map" resultMap="cardChargeDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_charge_price,
|
t1.card_charge_price,
|
||||||
t1.card_charge_end,
|
t1.card_charge_end,
|
||||||
@ -97,7 +99,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 查询我所有的未付款订单 -->
|
<!-- 查询我所有的未付款订单 -->
|
||||||
<select id="getNotPayList" parameterType="map" resultMap="cardChargeDTO">
|
<select id="getNotPayList" parameterType="map" resultMap="cardChargeDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_charge_price,
|
t1.card_charge_price,
|
||||||
t1.card_charge_end,
|
t1.card_charge_end,
|
||||||
@ -129,7 +131,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 通过微信预支付订单号查询 -->
|
<!-- 通过微信预支付订单号查询 -->
|
||||||
<select id="getChargeByOrderNumber" parameterType="java.lang.String" resultMap="cardChargeDTO">
|
<select id="getChargeByOrderNumber" parameterType="java.lang.String" resultMap="cardChargeDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_charge_price,
|
t1.card_charge_price,
|
||||||
t1.card_charge_end,
|
t1.card_charge_end,
|
||||||
@ -153,7 +155,7 @@
|
|||||||
t1.is_delete = 0 AND t1.card_charge_order_number = #{cardChargeOrderNumber}
|
t1.is_delete = 0 AND t1.card_charge_order_number = #{cardChargeOrderNumber}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<update id="updateOrderStatus" parameterType="map">
|
<update id="updateOrderStatus" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_charge
|
e_card_charge
|
||||||
SET
|
SET
|
||||||
@ -165,7 +167,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 查询未核对的缴费单 -->
|
<!-- 查询未核对的缴费单 -->
|
||||||
<select id="listNotCheckOrder" parameterType="map" resultMap="cardChargeDTO">
|
<select id="listNotCheckOrder" parameterType="map" resultMap="cardChargeDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_charge_price,
|
t1.card_charge_price,
|
||||||
t1.card_charge_end,
|
t1.card_charge_end,
|
||||||
@ -193,7 +195,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 判断我的名片使用权限是否到期-->
|
<!-- 判断我的名片使用权限是否到期-->
|
||||||
<select id="getLastEngTime" parameterType="map" resultMap="cardChargeDTO">
|
<select id="getLastEngTime" parameterType="map" resultMap="cardChargeDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_charge_price,
|
t1.card_charge_price,
|
||||||
t1.card_charge_end,
|
t1.card_charge_end,
|
||||||
@ -225,7 +227,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 新增CBC名片收费记录表 -->
|
<!-- 新增CBC名片收费记录表 -->
|
||||||
<insert id="save" parameterType="map">
|
<insert id="save" parameterType="map" flushCache="true">
|
||||||
INSERT INTO e_card_charge(
|
INSERT INTO e_card_charge(
|
||||||
card_charge_id,
|
card_charge_id,
|
||||||
card_charge_price,
|
card_charge_price,
|
||||||
@ -274,7 +276,7 @@
|
|||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<!-- 删除CBC名片收费记录表 -->
|
<!-- 删除CBC名片收费记录表 -->
|
||||||
<update id="remove" parameterType="map">
|
<update id="remove" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_charge
|
e_card_charge
|
||||||
SET
|
SET
|
||||||
@ -289,7 +291,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 删除CBC名片收费记录表(物理) -->
|
<!-- 删除CBC名片收费记录表(物理) -->
|
||||||
<update id="delete" parameterType="map">
|
<update id="delete" parameterType="map" flushCache="true">
|
||||||
DELETE FROM
|
DELETE FROM
|
||||||
e_card_charge
|
e_card_charge
|
||||||
WHERE
|
WHERE
|
||||||
@ -300,7 +302,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 修改CBC名片收费记录表 -->
|
<!-- 修改CBC名片收费记录表 -->
|
||||||
<update id="update" parameterType="map">
|
<update id="update" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_charge
|
e_card_charge
|
||||||
SET
|
SET
|
||||||
@ -345,7 +347,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- CBC名片收费记录表详情 -->
|
<!-- CBC名片收费记录表详情 -->
|
||||||
<select id="get" parameterType="map" resultMap="cardChargeDTO">
|
<select id="get" parameterType="map" resultMap="cardChargeDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_charge_price,
|
t1.card_charge_price,
|
||||||
t1.card_charge_end,
|
t1.card_charge_end,
|
||||||
@ -435,7 +437,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- CBC名片收费记录表列表 -->
|
<!-- CBC名片收费记录表列表 -->
|
||||||
<select id="list" parameterType="map" resultMap="cardChargeDTO">
|
<select id="list" parameterType="map" resultMap="cardChargeDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_charge_id,
|
t1.card_charge_id,
|
||||||
t1.card_charge_price,
|
t1.card_charge_price,
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplate.ICardTemplateDao">
|
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplate.ICardTemplateDao">
|
||||||
|
|
||||||
|
<cache/>
|
||||||
|
|
||||||
<resultMap id="cardTemplateDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplate.CardTemplateDTO">
|
<resultMap id="cardTemplateDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplate.CardTemplateDTO">
|
||||||
<result column="card_template_id" property="cardTemplateId"/>
|
<result column="card_template_id" property="cardTemplateId"/>
|
||||||
<result column="template_mode" property="templateMode"/>
|
<result column="template_mode" property="templateMode"/>
|
||||||
@ -47,7 +49,7 @@
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<!-- 新增 -->
|
<!-- 新增 -->
|
||||||
<insert id="save" parameterType="map">
|
<insert id="save" parameterType="map" flushCache="true">
|
||||||
INSERT INTO e_card_template(
|
INSERT INTO e_card_template(
|
||||||
card_template_id,
|
card_template_id,
|
||||||
template_mode,
|
template_mode,
|
||||||
@ -80,7 +82,7 @@
|
|||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<!-- 删除 -->
|
<!-- 删除 -->
|
||||||
<update id="remove" parameterType="map">
|
<update id="remove" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template
|
e_card_template
|
||||||
SET
|
SET
|
||||||
@ -95,7 +97,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 删除(物理) -->
|
<!-- 删除(物理) -->
|
||||||
<update id="delete" parameterType="map">
|
<update id="delete" parameterType="map" flushCache="true">
|
||||||
DELETE FROM
|
DELETE FROM
|
||||||
e_card_template
|
e_card_template
|
||||||
WHERE
|
WHERE
|
||||||
@ -106,7 +108,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 修改 -->
|
<!-- 修改 -->
|
||||||
<update id="update" parameterType="map">
|
<update id="update" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template
|
e_card_template
|
||||||
SET
|
SET
|
||||||
@ -135,7 +137,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 详情 -->
|
<!-- 详情 -->
|
||||||
<select id="get" parameterType="map" resultMap="cardTemplateDTO">
|
<select id="get" parameterType="map" resultMap="cardTemplateDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.template_mode,
|
t1.template_mode,
|
||||||
t1.template_type,
|
t1.template_type,
|
||||||
@ -208,7 +210,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<select id="list" parameterType="map" resultMap="cardTemplateDTO">
|
<select id="list" parameterType="map" resultMap="cardTemplateDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_id,
|
t1.card_template_id,
|
||||||
t1.template_mode,
|
t1.template_mode,
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplatedispatch.ICardTemplateDispatchDao">
|
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplatedispatch.ICardTemplateDispatchDao">
|
||||||
|
|
||||||
|
<cache/>
|
||||||
|
|
||||||
<resultMap id="cardTemplateDispatchDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplatedispatch.CardTemplateDispatchDTO">
|
<resultMap id="cardTemplateDispatchDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplatedispatch.CardTemplateDispatchDTO">
|
||||||
<result column="card_template_dispatch_id" property="cardTemplateDispatchId"/>
|
<result column="card_template_dispatch_id" property="cardTemplateDispatchId"/>
|
||||||
<result column="card_template_use_id" property="cardTemplateUseId"/>
|
<result column="card_template_use_id" property="cardTemplateUseId"/>
|
||||||
@ -45,7 +47,7 @@
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<!-- 新增 -->
|
<!-- 新增 -->
|
||||||
<insert id="save" parameterType="map">
|
<insert id="save" parameterType="map" flushCache="true">
|
||||||
INSERT INTO e_card_template_dispatch(
|
INSERT INTO e_card_template_dispatch(
|
||||||
card_template_dispatch_id,
|
card_template_dispatch_id,
|
||||||
card_template_use_id,
|
card_template_use_id,
|
||||||
@ -74,7 +76,7 @@
|
|||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<!-- 删除 -->
|
<!-- 删除 -->
|
||||||
<update id="remove" parameterType="map">
|
<update id="remove" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_dispatch
|
e_card_template_dispatch
|
||||||
SET
|
SET
|
||||||
@ -89,7 +91,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 删除(物理) -->
|
<!-- 删除(物理) -->
|
||||||
<update id="delete" parameterType="map">
|
<update id="delete" parameterType="map" flushCache="true">
|
||||||
DELETE FROM
|
DELETE FROM
|
||||||
e_card_template_dispatch
|
e_card_template_dispatch
|
||||||
WHERE
|
WHERE
|
||||||
@ -100,7 +102,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 修改 -->
|
<!-- 修改 -->
|
||||||
<update id="update" parameterType="map">
|
<update id="update" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_dispatch
|
e_card_template_dispatch
|
||||||
SET
|
SET
|
||||||
@ -127,7 +129,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 详情 -->
|
<!-- 详情 -->
|
||||||
<select id="get" parameterType="map" resultMap="cardTemplateDispatchDTO">
|
<select id="get" parameterType="map" resultMap="cardTemplateDispatchDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_dispatch_id,
|
t1.card_template_dispatch_id,
|
||||||
t1.card_template_use_id,
|
t1.card_template_use_id,
|
||||||
@ -195,7 +197,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<select id="list" parameterType="map" resultMap="cardTemplateDispatchDTO">
|
<select id="list" parameterType="map" resultMap="cardTemplateDispatchDTO" useCache="true">
|
||||||
SELECT temp.* FROM
|
SELECT temp.* FROM
|
||||||
(
|
(
|
||||||
SELECT
|
SELECT
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplatescans.ICardTemplateScansDao">
|
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplatescans.ICardTemplateScansDao">
|
||||||
|
|
||||||
|
<cache/>
|
||||||
|
|
||||||
<resultMap id="cardTemplateScansDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplatescans.CardTemplateScansDTO">
|
<resultMap id="cardTemplateScansDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplatescans.CardTemplateScansDTO">
|
||||||
<result column="card_template_scans_id" property="cardTemplateScansId"/>
|
<result column="card_template_scans_id" property="cardTemplateScansId"/>
|
||||||
<result column="card_template_dispatch_id" property="cardTemplateDispatchId"/>
|
<result column="card_template_dispatch_id" property="cardTemplateDispatchId"/>
|
||||||
@ -42,7 +44,7 @@
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<!-- 新增 -->
|
<!-- 新增 -->
|
||||||
<insert id="save" parameterType="map">
|
<insert id="save" parameterType="map" flushCache="true">
|
||||||
INSERT INTO e_card_template_scans(
|
INSERT INTO e_card_template_scans(
|
||||||
card_template_scans_id,
|
card_template_scans_id,
|
||||||
card_template_dispatch_id,
|
card_template_dispatch_id,
|
||||||
@ -69,7 +71,7 @@
|
|||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<!-- 删除 -->
|
<!-- 删除 -->
|
||||||
<update id="remove" parameterType="map">
|
<update id="remove" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_scans
|
e_card_template_scans
|
||||||
SET
|
SET
|
||||||
@ -84,7 +86,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 删除(物理) -->
|
<!-- 删除(物理) -->
|
||||||
<update id="delete" parameterType="map">
|
<update id="delete" parameterType="map" flushCache="true">
|
||||||
DELETE FROM
|
DELETE FROM
|
||||||
e_card_template_scans
|
e_card_template_scans
|
||||||
WHERE
|
WHERE
|
||||||
@ -95,7 +97,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 修改 -->
|
<!-- 修改 -->
|
||||||
<update id="update" parameterType="map">
|
<update id="update" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_scans
|
e_card_template_scans
|
||||||
SET
|
SET
|
||||||
@ -110,7 +112,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 详情 -->
|
<!-- 详情 -->
|
||||||
<select id="get" parameterType="map" resultMap="cardTemplateScansDTO">
|
<select id="get" parameterType="map" resultMap="cardTemplateScansDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_scans_id,
|
t1.card_template_scans_id,
|
||||||
t1.card_template_dispatch_id,
|
t1.card_template_dispatch_id,
|
||||||
@ -183,7 +185,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 首页列表 -->
|
<!-- 首页列表 -->
|
||||||
<select id="listHome" parameterType="map" resultMap="cardTemplateScansDTO">
|
<select id="listHome" parameterType="map" resultMap="cardTemplateScansDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_scans_id,
|
t1.card_template_scans_id,
|
||||||
t1.card_template_dispatch_id,
|
t1.card_template_dispatch_id,
|
||||||
@ -204,7 +206,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<select id="list" parameterType="map" resultMap="cardTemplateScansDTO">
|
<select id="list" parameterType="map" resultMap="cardTemplateScansDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_scans_id,
|
t1.card_template_scans_id,
|
||||||
t1.card_template_dispatch_id,
|
t1.card_template_dispatch_id,
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplateuse.ICardTemplateUseDao">
|
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplateuse.ICardTemplateUseDao">
|
||||||
|
|
||||||
|
<cache/>
|
||||||
|
|
||||||
<resultMap id="cardTemplateUseDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplateuse.CardTemplateUseDTO">
|
<resultMap id="cardTemplateUseDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplateuse.CardTemplateUseDTO">
|
||||||
<result column="card_template_use_id" property="cardTemplateUseId"/>
|
<result column="card_template_use_id" property="cardTemplateUseId"/>
|
||||||
<result column="picture_template_id" property="pictureTemplateId"/>
|
<result column="picture_template_id" property="pictureTemplateId"/>
|
||||||
@ -83,7 +85,7 @@
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<!-- 修改系统默认状态 -->
|
<!-- 修改系统默认状态 -->
|
||||||
<update id="updateSystem" parameterType="map">
|
<update id="updateSystem" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use
|
e_card_template_use
|
||||||
SET
|
SET
|
||||||
@ -96,7 +98,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 修改审核状态 -->
|
<!-- 修改审核状态 -->
|
||||||
<update id="updateCheck" parameterType="map">
|
<update id="updateCheck" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use
|
e_card_template_use
|
||||||
SET
|
SET
|
||||||
@ -107,7 +109,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 名片浏览数量+1 -->
|
<!-- 名片浏览数量+1 -->
|
||||||
<update id="saveAddScansNumber" parameterType="java.lang.String">
|
<update id="saveAddScansNumber" parameterType="java.lang.String" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use
|
e_card_template_use
|
||||||
SET
|
SET
|
||||||
@ -117,7 +119,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 名片转发数量+1 -->
|
<!-- 名片转发数量+1 -->
|
||||||
<update id="saveAddDispatchNumber" parameterType="java.lang.String">
|
<update id="saveAddDispatchNumber" parameterType="java.lang.String" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use
|
e_card_template_use
|
||||||
SET
|
SET
|
||||||
@ -127,7 +129,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 更新置顶名片 -->
|
<!-- 更新置顶名片 -->
|
||||||
<update id="updateDefault" parameterType="map">
|
<update id="updateDefault" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use
|
e_card_template_use
|
||||||
SET
|
SET
|
||||||
@ -140,7 +142,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 新增 -->
|
<!-- 新增 -->
|
||||||
<insert id="save" parameterType="map">
|
<insert id="save" parameterType="map" flushCache="true">
|
||||||
INSERT INTO e_card_template_use(
|
INSERT INTO e_card_template_use(
|
||||||
card_template_use_id,
|
card_template_use_id,
|
||||||
picture_template_id,
|
picture_template_id,
|
||||||
@ -209,7 +211,7 @@
|
|||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<!-- 删除 -->
|
<!-- 删除 -->
|
||||||
<update id="remove" parameterType="map">
|
<update id="remove" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use
|
e_card_template_use
|
||||||
SET
|
SET
|
||||||
@ -224,7 +226,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 删除(物理) -->
|
<!-- 删除(物理) -->
|
||||||
<update id="delete" parameterType="map">
|
<update id="delete" parameterType="map" flushCache="true">
|
||||||
DELETE FROM
|
DELETE FROM
|
||||||
e_card_template_use
|
e_card_template_use
|
||||||
WHERE
|
WHERE
|
||||||
@ -235,7 +237,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 修改 -->
|
<!-- 修改 -->
|
||||||
<update id="update" parameterType="map">
|
<update id="update" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use
|
e_card_template_use
|
||||||
SET
|
SET
|
||||||
@ -271,7 +273,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 我的默认 -->
|
<!-- 我的默认 -->
|
||||||
<select id="getDefault" parameterType="map" resultMap="cardTemplateUseDTO">
|
<select id="getDefault" parameterType="map" resultMap="cardTemplateUseDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_use_id,
|
t1.card_template_use_id,
|
||||||
t1.picture_template_id,
|
t1.picture_template_id,
|
||||||
@ -310,7 +312,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 系统默认 -->
|
<!-- 系统默认 -->
|
||||||
<select id="getSystem" parameterType="map" resultMap="cardTemplateUseDTO">
|
<select id="getSystem" parameterType="map" resultMap="cardTemplateUseDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_use_id,
|
t1.card_template_use_id,
|
||||||
t1.picture_template_id,
|
t1.picture_template_id,
|
||||||
@ -349,7 +351,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 详情 -->
|
<!-- 详情 -->
|
||||||
<select id="get" parameterType="map" resultMap="cardTemplateUseDTO">
|
<select id="get" parameterType="map" resultMap="cardTemplateUseDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_use_id,
|
t1.card_template_use_id,
|
||||||
t1.picture_template_id,
|
t1.picture_template_id,
|
||||||
@ -457,7 +459,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<select id="list" parameterType="map" resultMap="cardTemplateUseDTO">
|
<select id="list" parameterType="map" resultMap="cardTemplateUseDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_use_id,
|
t1.card_template_use_id,
|
||||||
t1.picture_template_id,
|
t1.picture_template_id,
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplateusearea.ICardTemplateUseAreaDao">
|
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplateusearea.ICardTemplateUseAreaDao">
|
||||||
|
|
||||||
|
<cache/>
|
||||||
|
|
||||||
<resultMap id="cardTemplateUseAreaDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplateusearea.CardTemplateUseAreaDTO">
|
<resultMap id="cardTemplateUseAreaDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplateusearea.CardTemplateUseAreaDTO">
|
||||||
<result column="card_template_use_area_id" property="cardTemplateUseAreaId"/>
|
<result column="card_template_use_area_id" property="cardTemplateUseAreaId"/>
|
||||||
<result column="card_template_use_id" property="cardTemplateUseId"/>
|
<result column="card_template_use_id" property="cardTemplateUseId"/>
|
||||||
@ -94,7 +96,7 @@
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<!-- 新增 -->
|
<!-- 新增 -->
|
||||||
<insert id="save" parameterType="map">
|
<insert id="save" parameterType="map" flushCache="true">
|
||||||
INSERT INTO e_card_template_use_area(
|
INSERT INTO e_card_template_use_area(
|
||||||
card_template_use_area_id,
|
card_template_use_area_id,
|
||||||
card_template_use_id,
|
card_template_use_id,
|
||||||
@ -157,7 +159,7 @@
|
|||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<!-- 删除 -->
|
<!-- 删除 -->
|
||||||
<update id="remove" parameterType="map">
|
<update id="remove" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use_area
|
e_card_template_use_area
|
||||||
SET
|
SET
|
||||||
@ -172,7 +174,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 删除(物理) -->
|
<!-- 删除(物理) -->
|
||||||
<update id="delete" parameterType="map">
|
<update id="delete" parameterType="map" flushCache="true">
|
||||||
DELETE FROM
|
DELETE FROM
|
||||||
e_card_template_use_area
|
e_card_template_use_area
|
||||||
WHERE
|
WHERE
|
||||||
@ -183,7 +185,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 修改 -->
|
<!-- 修改 -->
|
||||||
<update id="update" parameterType="map">
|
<update id="update" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use_area
|
e_card_template_use_area
|
||||||
SET
|
SET
|
||||||
@ -201,7 +203,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 详情 -->
|
<!-- 详情 -->
|
||||||
<select id="get" parameterType="map" resultMap="cardTemplateUseAreaDTO">
|
<select id="get" parameterType="map" resultMap="cardTemplateUseAreaDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_use_area_id,
|
t1.card_template_use_area_id,
|
||||||
t1.card_template_use_id,
|
t1.card_template_use_id,
|
||||||
@ -320,7 +322,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<select id="list" parameterType="map" resultMap="cardTemplateUseAreaDTO">
|
<select id="list" parameterType="map" resultMap="cardTemplateUseAreaDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_use_area_id,
|
t1.card_template_use_area_id,
|
||||||
t1.card_template_use_id,
|
t1.card_template_use_id,
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplateusebag.ICardTemplateUseBagDao">
|
<mapper namespace="cn.com.tenlion.systemcard.dao.cardtemplateusebag.ICardTemplateUseBagDao">
|
||||||
|
|
||||||
|
<cache/>
|
||||||
|
|
||||||
<resultMap id="cardTemplateUseBagDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplateusebag.CardTemplateUseBagDTO">
|
<resultMap id="cardTemplateUseBagDTO" type="cn.com.tenlion.systemcard.pojo.dtos.cardtemplateusebag.CardTemplateUseBagDTO">
|
||||||
<result column="card_template_use_bag_id" property="cardTemplateUseBagId"/>
|
<result column="card_template_use_bag_id" property="cardTemplateUseBagId"/>
|
||||||
<result column="card_template_use_id" property="cardTemplateUseId"/>
|
<result column="card_template_use_id" property="cardTemplateUseId"/>
|
||||||
@ -42,7 +44,7 @@
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<!-- 新增 -->
|
<!-- 新增 -->
|
||||||
<insert id="save" parameterType="map">
|
<insert id="save" parameterType="map" flushCache="true">
|
||||||
INSERT INTO e_card_template_use_bag(
|
INSERT INTO e_card_template_use_bag(
|
||||||
card_template_use_bag_id,
|
card_template_use_bag_id,
|
||||||
card_template_use_id,
|
card_template_use_id,
|
||||||
@ -69,7 +71,7 @@
|
|||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<!-- 删除 -->
|
<!-- 删除 -->
|
||||||
<update id="remove" parameterType="map">
|
<update id="remove" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use_bag
|
e_card_template_use_bag
|
||||||
SET
|
SET
|
||||||
@ -84,7 +86,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 删除(物理) -->
|
<!-- 删除(物理) -->
|
||||||
<update id="delete" parameterType="map">
|
<update id="delete" parameterType="map" flushCache="true">
|
||||||
DELETE FROM
|
DELETE FROM
|
||||||
e_card_template_use_bag
|
e_card_template_use_bag
|
||||||
WHERE
|
WHERE
|
||||||
@ -95,7 +97,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 我的卡包置顶状态修改 -->
|
<!-- 我的卡包置顶状态修改 -->
|
||||||
<update id="updateTop" parameterType="map">
|
<update id="updateTop" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use_bag
|
e_card_template_use_bag
|
||||||
SET
|
SET
|
||||||
@ -105,7 +107,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 修改 -->
|
<!-- 修改 -->
|
||||||
<update id="update" parameterType="map">
|
<update id="update" parameterType="map" flushCache="true">
|
||||||
UPDATE
|
UPDATE
|
||||||
e_card_template_use_bag
|
e_card_template_use_bag
|
||||||
SET
|
SET
|
||||||
@ -129,7 +131,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 详情 -->
|
<!-- 详情 -->
|
||||||
<select id="get" parameterType="map" resultMap="cardTemplateUseBagDTO">
|
<select id="get" parameterType="map" resultMap="cardTemplateUseBagDTO" useCache="true">
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_use_bag_id,
|
t1.card_template_use_bag_id,
|
||||||
t1.card_template_use_id,
|
t1.card_template_use_id,
|
||||||
@ -194,7 +196,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<select id="list" parameterType="map" resultMap="cardTemplateUseBagDTO">
|
<select id="list" parameterType="map" resultMap="cardTemplateUseBagDTO" useCache="true">
|
||||||
SELECT temp.* FROM (
|
SELECT temp.* FROM (
|
||||||
SELECT
|
SELECT
|
||||||
t1.card_template_use_bag_id,
|
t1.card_template_use_bag_id,
|
||||||
|
@ -145,11 +145,13 @@
|
|||||||
};
|
};
|
||||||
//关闭事件
|
//关闭事件
|
||||||
socket.onclose = function() {
|
socket.onclose = function() {
|
||||||
console.log("Socket已关闭");
|
consoleLog = "控制台连接断开...\r\n\r\n";
|
||||||
|
setCodeTxt(consoleLog);
|
||||||
};
|
};
|
||||||
//发生了错误事件
|
//发生了错误事件
|
||||||
socket.onerror = function() {
|
socket.onerror = function() {
|
||||||
alert("Socket发生了错误");
|
consoleLog = "控制台连接错误...\r\n\r\n";
|
||||||
|
setCodeTxt(consoleLog);
|
||||||
//此时可以尝试刷新页面
|
//此时可以尝试刷新页面
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -298,13 +300,6 @@
|
|||||||
|
|
||||||
$(cmainFrame());
|
$(cmainFrame());
|
||||||
|
|
||||||
// 初始化内容
|
|
||||||
function initData() {
|
|
||||||
|
|
||||||
}
|
|
||||||
initData();
|
|
||||||
|
|
||||||
|
|
||||||
//设置代码内容
|
//设置代码内容
|
||||||
function setCodeTxt(value){
|
function setCodeTxt(value){
|
||||||
$("#editor").focus();
|
$("#editor").focus();
|
||||||
@ -367,6 +362,15 @@
|
|||||||
closeBox();
|
closeBox();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
// 初始化内容
|
||||||
|
function initData() {
|
||||||
|
consoleLog = "控制台等待连接...\r\n\r\n";
|
||||||
|
setCodeTxt(consoleLog);
|
||||||
|
}
|
||||||
|
initData();
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user