| | |
| | | <result property="updatedDate" column="updated_date" jdbcType="TIMESTAMP"/> |
| | | <association property="creatorName" column="creator" javaType="java.lang.Long" |
| | | select="com.dy.pmsGlobal.daoBa.BaUserMapper.selectNameByUserId" fetchType="eager"/> |
| | | <association property="proName" column="pro_id" javaType="java.lang.Long" |
| | | select="com.dy.pmsGlobal.daoPlt.PltProductMapper.selectProNameById" fetchType="eager" /> |
| | | <association property="proType" column="pro_id" javaType="java.lang.Long" |
| | | select="com.dy.pmsGlobal.daoPlt.PltProductMapper.selectProTypeById" fetchType="eager" /> |
| | | </resultMap> |
| | | |
| | | <sql id="Base_Column_List"> |
| | |
| | | name like concat('%', #{name}, '%') and |
| | | </if> |
| | | <if test="proId != null"> |
| | | proId = #{proId,jdbcType=BIGINT} |
| | | pro_id = #{proId,jdbcType=BIGINT} and |
| | | </if> |
| | | <if test="value != null and value !=''"> |
| | | value like concat('%', #{value}, '%') and |
| | |
| | | name like concat('%', #{name}, '%') and |
| | | </if> |
| | | <if test="proId != null"> |
| | | proId = #{proId,jdbcType=BIGINT} |
| | | pro_id = #{proId,jdbcType=BIGINT} and |
| | | </if> |
| | | <if test="value != null and value !=''"> |
| | | value like concat('%', #{value}, '%') and |