|
@@ -422,7 +422,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
|
|
|
<select id="countByCzJs1" resultType="int">
|
|
|
- SELECT DISTINCT(jzdz.id_card) from czrk_jzdz jzdz
|
|
|
+ SELECT count(DISTINCT(jzdz.id_card)) from czrk_jzdz jzdz
|
|
|
where jzdz.status = 'N' and jzdz.update_time >= #{startTime} and jzdz.update_time <= #{endTime}
|
|
|
<if test="deptIdList != null and deptIdList.size() > 0">
|
|
|
and jzdz.dept_id in
|
|
@@ -859,7 +859,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
|
|
|
<select id="countAll" resultType="int">
|
|
|
- select count(1) from czrk where is_del = '否';
|
|
|
+ select count(1) from czrk where is_del = 'N';
|
|
|
</select>
|
|
|
|
|
|
<select id="selectCzrkListByPage" parameterType="Integer" resultMap="CzrkResult">
|