yangys
2024-03-04 c51a042cfb8453265acf2b764b82bd17019b9b1b
mdc-parent/mdc-showdb-mysql/src/main/resources/mapper/MachineAccountMapper.xml
@@ -71,6 +71,14 @@
            and a.specification like #{specification}
         </if>
         
         <if test="dto.productionDateBegin != null">
            and a.a.production_date &gt;= #{dto.productionDateBegin}
         </if>
         <if test="dto.productionDateEnd != null">
            and a.a.production_date &lt;= #{dto.productionDateEnd}
         </if>
         <if test="dto.manufacturer != null and dto.manufacturer != ''">
            <bind name="manufacturer" value="'%' + dto.manufacturer + '%'" />
            and a.manufacturer like #{manufacturer}