服务指令-缩减无用冗余字段
This commit is contained in:
parent
93d3c99854
commit
41958767f7
|
|
@ -49,13 +49,12 @@
|
||||||
select count(*)
|
select count(*)
|
||||||
from nu_biz_nu_directive_order
|
from nu_biz_nu_directive_order
|
||||||
where nu_id = #{nuId}
|
where nu_id = #{nuId}
|
||||||
and elder_id = #{elderId}
|
|
||||||
and start_time >= #{optTime}
|
and start_time >= #{optTime}
|
||||||
<if test="directiveId != null and directiveId != ''">
|
<if test="izPackage != null and izPackage != 'N'">
|
||||||
AND directive_id = #{directiveId}
|
AND directive_id = #{directiveId}
|
||||||
</if>
|
</if>
|
||||||
<if test="packageId != null and packageId != ''">
|
<if test="izPackage != null and izPackage != 'Y'">
|
||||||
AND package_id = #{packageId}
|
AND package_id = #{directiveId}
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue