|
|
@ -58,10 +58,10 @@ |
|
|
|
|
|
|
|
<if test='null != natDate and "" != natDate'> |
|
|
|
<if test='null != natStatus and "1" == natStatus'> |
|
|
|
AND DATE_FORMAT( r.LATEST_NAT_TIME, '%Y%m%d' ) = #{natDate} |
|
|
|
AND DATE_FORMAT( c.LATEST_NAT_TIME, '%Y%m%d' ) = #{natDate} |
|
|
|
</if> |
|
|
|
<if test='null != natStatus and "0" == natStatus'> |
|
|
|
AND DATE_FORMAT( r.LATEST_NAT_TIME, '%Y%m%d' ) != #{natDate} |
|
|
|
AND DATE_FORMAT( c.LATEST_NAT_TIME, '%Y%m%d' ) != #{natDate} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
ORDER BY |
|
|
|