|
|
@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<select id="selectSysInvoiceList" parameterType="SysInvoice" resultMap="SysInvoiceResult"> |
|
|
|
<include refid="selectSysInvoiceVo"/> |
|
|
|
<where> |
|
|
|
<if test="enterpriseCode != null and enterpriseCode != ''"> and enterprise_code = #{enterpriseCode}</if> |
|
|
|
<if test="enterpriseCode != null and enterpriseCode != ''"> and enterprise_code like concat('%', #{enterpriseCode}, '%')</if> |
|
|
|
<if test="enterpriseName != null and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if> |
|
|
|
</where> |
|
|
|
</select> |
|
|
|