|
|
|
@ -304,7 +304,8 @@
|
|
|
|
|
<if test="materialName != null">and t.materialName like concat('%',#{materialName}, '%')</if>
|
|
|
|
|
<if test="supplierCode != null">and t.supplierCode like concat('%',#{supplierCode}, '%')</if>
|
|
|
|
|
<if test="supplierName != null ">and t.supplierName like concat('%',#{supplierName},'%')</if>
|
|
|
|
|
|
|
|
|
|
<if test="incomeTimeStart != null ">and CONVERT(varchar(10),t.incomeTime, 120) >= #{incomeTimeStart}</if>
|
|
|
|
|
<if test="incomeTimeEnd != null ">and #{incomeTimeEnd} > CONVERT(varchar(10),t.incomeTime, 120)</if>
|
|
|
|
|
order by t.incomeTime desc,t.materialCode
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|