Commit 9996932aa5541b4ad138a8ed27a54a173add7bd3
1 parent
b493565155
Exists in
master
and in
6 other branches
add weixin code config
Showing 1 changed file with 5 additions and 5 deletions
platform-biz-service/src/main/resources/mainOrm/master/WeixinShowqrcodeConfig.xml
View file @
9996932
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| 3 | 3 | <mapper namespace="com.lymsh.mommybaby.maindata.dao.WeixinQrcodeConfigMapper"> |
| 4 | 4 | |
| 5 | -<resultMap id="WeixinShowqrcodeConfigResultMap" type="com.lymsh.mommybaby.maindata.model.WeixinQrcodeConfig"> | |
| 5 | +<resultMap id="WeixinShowqrcodeConfigResultMap" type="com.lyms.platform.permission.model.WeixinQrcodeConfig"> | |
| 6 | 6 | <id column="id" property="id" jdbcType="INTEGER" /> |
| 7 | 7 | <result column="hospitalId" property="hospitalId" jdbcType="VARCHAR" /> |
| 8 | 8 | <result column="dp_id" property="dpId" jdbcType="INTEGER" /> |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | |
| 17 | -<insert id="addWeixinShowqrcodeConfig" parameterType="com.lymsh.mommybaby.maindata.model.WeixinQrcodeConfig"> | |
| 17 | +<insert id="addWeixinShowqrcodeConfig" parameterType="com.lyms.platform.permission.model.WeixinQrcodeConfig"> | |
| 18 | 18 | <selectKey resultType="java.lang.Integer" keyProperty="id" order="AFTER"> |
| 19 | 19 | SELECT LAST_INSERT_ID() |
| 20 | 20 | </selectKey> |
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | |
| 24 | 24 | |
| 25 | 25 | |
| 26 | -<update id="updateWeixinShowqrcodeConfig" parameterType="com.lymsh.mommybaby.maindata.model.WeixinQrcodeConfig"> | |
| 26 | +<update id="updateWeixinShowqrcodeConfig" parameterType="com.lyms.platform.permission.model.WeixinQrcodeConfig"> | |
| 27 | 27 | update weixin_qrcode_config <set><if test="hospitalId != null and hospitalId != ''"> |
| 28 | 28 | hospitalId = #{hospitalId,jdbcType=VARCHAR}, |
| 29 | 29 | </if> |
| ... | ... | @@ -100,7 +100,7 @@ |
| 100 | 100 | |
| 101 | 101 | |
| 102 | 102 | |
| 103 | -<select id="queryWeixinShowqrcodeConfig" resultMap="WeixinShowqrcodeConfigResultMap" parameterType="com.lymsh.mommybaby.maindata.model.WeixinQrcodeConfigQuery"> | |
| 103 | +<select id="queryWeixinShowqrcodeConfig" resultMap="WeixinShowqrcodeConfigResultMap" parameterType="com.lyms.platform.permission.model.WeixinQrcodeConfigQuery"> | |
| 104 | 104 | select id,hospitalId,dp_id,ticket,created,modified,wx_url |
| 105 | 105 | from weixin_qrcode_config |
| 106 | 106 | <include refid="WeixinShowqrcodeConfigCondition" /> |
| ... | ... | @@ -109,7 +109,7 @@ |
| 109 | 109 | |
| 110 | 110 | |
| 111 | 111 | |
| 112 | -<select id="queryWeixinShowqrcodeConfigCount" resultType="int" parameterType="com.lymsh.mommybaby.maindata.model.WeixinQrcodeConfigQuery"> | |
| 112 | +<select id="queryWeixinShowqrcodeConfigCount" resultType="int" parameterType="com.lyms.platform.permission.model.WeixinQrcodeConfigQuery"> | |
| 113 | 113 | select count(1) from weixin_qrcode_config |
| 114 | 114 | <include refid="WeixinShowqrcodeConfigCondition" /> |
| 115 | 115 | </select> |