chenjiahe
2021-12-27 89085b3f5d8971a08aac4e0b804e9e505baa3c69
phi_platform_common/src/main/resources/mapper/ApplyParameterMapper.xml
@@ -8,7 +8,7 @@
   <!-- 整个实体类修改,表字段=实体类字段-->
   <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>
    
@@ -19,7 +19,7 @@
       <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" >
@@ -51,14 +51,14 @@
   <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>