| | |
| | | <if test="materialName != null and materialName != ''"> |
| | | AND r.`material_name` LIKE CONCAT('%',#{materialName},'%') |
| | | </if> |
| | | <if test="type != null and type != ''"> |
| | | <if test="type != null"> |
| | | AND r.`type` = #{type} |
| | | </if> |
| | | <if test="createTime != null and createTime != ''"> |
| | | AND DATE_FORMAT(r.`create_time`,'%Y-%m-%d') = #{createTime} |
| | | AND DATE_FORMAT(r.`date_survey`,'%Y-%m-%d') = #{createTime} |
| | | </if> |
| | | </select> |
| | | <select id="selectRawmaAll" resultType="java.util.Map"> |
| | |
| | | material_coding mcode, |
| | | material_name name, |
| | | specifications_models specifications, |
| | | specifications_id specificationsId, |
| | | unit, |
| | | quantity num, |
| | | surveyor, |