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