1
zj
2025-05-08 4130970dd61791e0a5cb0771a9b707084f1ed464
src/main/resources/mapper/UserPositionMapper.xml
@@ -384,9 +384,9 @@
      <if test="stockSpell != null and stockSpell != '' ">
        and stock_spell like CONCAT('%','${stockSpell}','%')
      </if>
<!--      <if test="stockType != null and stockType!= ''">-->
<!--        and stock_gid = #{stockType}-->
<!--      </if>-->
      <if test="stockType != null and stockType!= ''">
        and stock_gid = #{stockType}
      </if>
    </where>
@@ -435,6 +435,9 @@
      <if test="userId != null and userId != ''">
        AND user_id = #{userId}
      </if>
      <if test="productType != null and productType != ''">
        AND stock_gid = #{productType}
      </if>
      <if test="positionSn != null and positionSn != ''">
        AND position_sn LIKE CONCAT('%', #{positionSn}, '%')
      </if>