| | |
| | | <!-- 整个实体类修改,表字段=实体类字段--> |
| | | <sql id="Update_Column_All"> |
| | | <trim prefixOverrides=","> |
| | | ,corpId = #{corpId},applySecretKey = #{applySecretKey},mpAppId = #{mpAppId},mpSecretKey = #{mpSecretKey},isDel = #{isDel},createTime = #{createTime} |
| | | ,name = #{name},uniqueCode = #{uniqueCode},type = #{type},corpId = #{corpId},communiSecretKey = #{communiSecretKey},contactSecretKey = #{contactSecretKey},mpAppId = #{mpAppId},mpSecretKey = #{mpSecretKey},applySecretKey = #{applySecretKey},hisAppId = #{hisAppId},hisSecretKey = #{hisSecretKey},hisCode = #{hisCode},remarkInfo = #{remarkInfo},isDel = #{isDel},createTime = #{createTime} |
| | | </trim> |
| | | </sql> |
| | | |
| | |
| | | <selectKey keyProperty="id" resultType="String" order="BEFORE"> |
| | | select replace(uuid(),'-','') from dual |
| | | </selectKey> |
| | | insert into pla_apply_parameter (id,corpId,applySecretKey,mpAppId,mpSecretKey,isDel,createTime) values (#{id},#{corpId},#{applySecretKey},#{mpAppId},#{mpSecretKey},#{isDel},#{createTime}) |
| | | insert into pla_apply_parameter (id,name,uniqueCode,type,corpId,communiSecretKey,contactSecretKey,mpAppId,mpSecretKey,applySecretKey,hisAppId,hisSecretKey,hisCode,remarkInfo,isDel,createTime) values (#{id},#{name},#{uniqueCode},#{type},#{corpId},#{communiSecretKey},#{contactSecretKey},#{mpAppId},#{mpSecretKey},#{applySecretKey},#{hisAppId},#{hisSecretKey},#{hisCode},#{remarkInfo},#{isDel},#{createTime}) |
| | | </insert> |
| | | |
| | | <select id="selectList" resultType="com.hx.phip.model.ApplyParameter" parameterType="com.hx.mybatisTool.SqlSentence" > |
| | |
| | | |
| | | <select id="selectOneByKey" resultType="com.hx.phip.model.ApplyParameter" parameterType="java.lang.Object" > |
| | | select |
| | | id,corpId,applySecretKey,mpAppId,mpSecretKey,isDel,createTime |
| | | id,name,uniqueCode,type,corpId,communiSecretKey,contactSecretKey,mpAppId,mpSecretKey,applySecretKey,hisAppId,hisSecretKey,hisCode,remarkInfo,isDel,createTime |
| | | from pla_apply_parameter |
| | | WHERE id = #{value} |
| | | </select> |
| | | |
| | | <select id="selectOneByKeyBlob" resultType="com.hx.phip.model.ApplyParameter" parameterType="java.lang.Object" > |
| | | select |
| | | id,corpId,applySecretKey,mpAppId,mpSecretKey,isDel,createTime |
| | | id,name,uniqueCode,type,corpId,communiSecretKey,contactSecretKey,mpAppId,mpSecretKey,applySecretKey,hisAppId,hisSecretKey,hisCode,remarkInfo,isDel,createTime |
| | | from pla_apply_parameter |
| | | WHERE id = #{value} |
| | | </select> |