吴学文
2019-07-09 cf5c100a7f818e3e704911c39c8595c2d6433cee
java110-db/src/main/resources/mapper/mapping/MappingServiceDaoImplMapper.xml
@@ -6,11 +6,13 @@
    <!-- 保存映射信息 add by wuxw 2018-07-03 -->
       <insert id="saveMappingInfo" parameterType="Map">
           insert into c_mapping(
domain,name,remark,id,value,key
) values (
#{domain},#{name},#{remark},#{id},#{value},#{key}
)
           <![CDATA[
            insert into c_mapping(
            domain,name,remark,id,``key``,value) values (
            #{domain},#{name},#{remark},#{id},#{key},#{value}
            )
        ]]>
       </insert>
@@ -38,7 +40,7 @@
   and t.value= #{value}
</if> 
<if test="key !=null and key != ''">
   and t.key= #{key}
   and t.`key`= #{key}
</if> 
       </select>
@@ -101,7 +103,8 @@
</if> 
<if test="key !=null and key != ''">
   and t.key= #{key}
</if>
</if>
        order by t.create_time desc
<if test="page != -1 and page != null ">
   limit #{page}, #{row}
</if> 
@@ -128,7 +131,7 @@
, t.value= #{value}
</if> 
<if test="key !=null and key != ''">
, t.key= #{key}
, t.`key`= #{key}
</if> 
 where 1=1 <if test="id !=null and id != ''">
and t.id= #{id}