|
|
@ -985,7 +985,7 @@ |
|
|
<where> |
|
|
<where> |
|
|
t1.`level` =3 |
|
|
t1.`level` =3 |
|
|
<if test="monthTime !=null"> |
|
|
<if test="monthTime !=null"> |
|
|
and DATE_FORMAT(t1.c201010, '%Y-%m') = DATE_FORMAT(#{monthTime}, '%Y-%m') |
|
|
and DATE_FORMAT(t3.c201010, '%Y-%m') = DATE_FORMAT(#{monthTime}, '%Y-%m') |
|
|
</if> |
|
|
</if> |
|
|
</where> |
|
|
</where> |
|
|
</select> |
|
|
</select> |
|
|
@ -1020,7 +1020,7 @@ |
|
|
<where> |
|
|
<where> |
|
|
t1.`level` = 3 |
|
|
t1.`level` = 3 |
|
|
<if test="monthTime !=null"> |
|
|
<if test="monthTime !=null"> |
|
|
and DATE_FORMAT(t1.c201010, '%Y-%m') = DATE_FORMAT(#{monthTime}, '%Y-%m') |
|
|
and DATE_FORMAT(t3.add_time, '%Y-%m') = DATE_FORMAT(#{monthTime}, '%Y-%m') |
|
|
</if> |
|
|
</if> |
|
|
</where> |
|
|
</where> |
|
|
</select> |
|
|
</select> |
|
|
@ -1036,7 +1036,6 @@ |
|
|
left join sxt_xzqzjbxx173774 t3 on |
|
|
left join sxt_xzqzjbxx173774 t3 on |
|
|
t2.dept_name = t3.c301004 |
|
|
t2.dept_name = t3.c301004 |
|
|
<where> |
|
|
<where> |
|
|
|
|
|
|
|
|
<if test="monthTime !=null"> |
|
|
<if test="monthTime !=null"> |
|
|
and DATE_FORMAT(t3.add_time, '%Y-%m') = DATE_FORMAT(#{monthTime}, '%Y-%m') |
|
|
and DATE_FORMAT(t3.add_time, '%Y-%m') = DATE_FORMAT(#{monthTime}, '%Y-%m') |
|
|
</if> |
|
|
</if> |
|
|
|