|
@@ -458,9 +458,12 @@
|
|
|
<if test="endTime != null and endTime != ''">
|
|
|
and b.notice_time <![CDATA[<=]]> #{endTime}
|
|
|
</if>
|
|
|
- <if test="partType != null and partType != ''">
|
|
|
+ <if test="partType != null and partType == '产成品'.toString()">
|
|
|
and c.part_type = #{partType}
|
|
|
</if>
|
|
|
+ <if test="partType != null and partType == '半成品'.toString()">
|
|
|
+ and c.part_type ='半成品' or c.part_type ='原材料'
|
|
|
+ </if>
|
|
|
<if test="companyNumber != null and companyNumber != ''">
|
|
|
and b.company_number = #{companyNumber}
|
|
|
</if>
|