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