| | |
| | | <if test="name != null and name !=''"> |
| | | name like concat('%', #{name}, '%') and |
| | | </if> |
| | | <if test="factory != null and factory !=''"> |
| | | factory like concat('%', #{factory}, '%') and |
| | | <if test="proId != null"> |
| | | proId = #{proId,jdbcType=BIGINT} |
| | | </if> |
| | | <if test="director != null and director !=''"> |
| | | director like concat('%', #{director}, '%') and |
| | | <if test="value != null and value !=''"> |
| | | value like concat('%', #{value}, '%') and |
| | | </if> |
| | | <if test="dMobile != null and dMobile !=''"> |
| | | d_mobile = #{dMobile,jdbcType=VARCHAR} and |
| | | <if test="type != null"> |
| | | type = #{type,jdbcType=TINYINT} and |
| | | </if> |
| | | </trim> |
| | | order by id desc |
| | |
| | | <if test="name != null and name !=''"> |
| | | name like concat('%', #{name}, '%') and |
| | | </if> |
| | | <if test="factory != null and factory !=''"> |
| | | factory like concat('%', #{factory}, '%') and |
| | | <if test="proId != null"> |
| | | proId = #{proId,jdbcType=BIGINT} |
| | | </if> |
| | | <if test="director != null and director !=''"> |
| | | director like concat('%', #{director}, '%') and |
| | | <if test="value != null and value !=''"> |
| | | value like concat('%', #{value}, '%') and |
| | | </if> |
| | | <if test="dMobile != null and dMobile !=''"> |
| | | d_mobile = #{dMobile,jdbcType=VARCHAR} and |
| | | <if test="type != null"> |
| | | type = #{type,jdbcType=TINYINT} and |
| | | </if> |
| | | </trim> |
| | | </select> |