fix
This commit is contained in:
parent
de7d8a3351
commit
4dc7d58e72
|
|
@ -174,7 +174,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="selectByName" resultType="java.lang.Integer">
|
<select id="selectByName" resultType="java.lang.Integer">
|
||||||
select count(*) from bm_unit_info
|
select count(*) from bm_unit_info
|
||||||
where
|
where
|
||||||
<if test="unitName != null and unitName != '' ">unit_name = #{unitName}</if>
|
1 = 1
|
||||||
|
<if test="unitName != null and unitName != '' ">and unit_name = #{unitName}</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,8 @@
|
||||||
<select id="selectByName" resultType="java.lang.Integer">
|
<select id="selectByName" resultType="java.lang.Integer">
|
||||||
select count(*) from sys_dic
|
select count(*) from sys_dic
|
||||||
where
|
where
|
||||||
<if test="name != null and name != ''">name = #{name}</if>
|
1 = 1
|
||||||
|
<if test="name != null and name != ''">and name = #{name}</if>
|
||||||
</select>
|
</select>
|
||||||
<insert id="insertSysDic" parameterType="com.bonus.sgzb.base.api.domain.SysDic">
|
<insert id="insertSysDic" parameterType="com.bonus.sgzb.base.api.domain.SysDic">
|
||||||
insert into sys_dic
|
insert into sys_dic
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue