67,513
社区成员
发帖
与我相关
我的任务
分享
<search id="searchOrdersByCriteria" resultMap="orderResultMap"
parameterType= "com.cl.shop.bean.CriteriaForm">
select * from clshop.cl_order where 1=1
<if test="custName != null and custName != '' ">
and cust_code = #{custCode}
</if>
<if test="status != null and status != '' ">
and status = #{status}
</if>
</search>