| 对比新文件 |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | <mapper namespace="com.yuanchu.mom.mapper.ImportRepertoryMapper"> |
| | | <select id="selectAllImpRep" resultType="java.util.Map"> |
| | | select id, |
| | | order_code, |
| | | code, |
| | | name, |
| | | specifications, |
| | | unit, |
| | | number, |
| | | user_name, |
| | | create_time |
| | | from mom_ocean.import_repertory |
| | | where state=1 |
| | | <if test="orderCode!=null and orderCode!=''"> |
| | | and order_code like concat('%',#{orderCode},'%') |
| | | </if> |
| | | <if test="name!=null and name!=''"> |
| | | and name like concat('%',#{name},'%') |
| | | </if> |
| | | <if test="time!=null and time!=''"> |
| | | and create_time=#{time} |
| | | </if> |
| | | order by id desc |
| | | </select> |
| | | </mapper> |