feat: 单据in查询

workplace
chenhc 11 months ago
parent 4cbd788597
commit 76c9764465

@ -4,6 +4,7 @@ import com.glxp.api.util.page.ListPageRequest;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
import java.util.List;
@Data @Data
public class CollectOrderRequest extends ListPageRequest { public class CollectOrderRequest extends ListPageRequest {
@ -81,5 +82,7 @@ public class CollectOrderRequest extends ListPageRequest {
*/ */
private Long updateUser; private Long updateUser;
private List<Integer> tagStatusList;
} }

@ -34,6 +34,12 @@
<if test="workPlaceCode != null and workPlaceCode != ''"> <if test="workPlaceCode != null and workPlaceCode != ''">
AND workPlaceCode = #{workPlaceCode} AND workPlaceCode = #{workPlaceCode}
</if> </if>
<if test="tagStatusList != null and tagStatusList.size() > 0">
and tagStatus in
<foreach collection="tagStatusList" item="item" index="index" separator="," open="(" close=")">
#{item}
</foreach>
</if>
</where> </where>
order by collectTime desc order by collectTime desc
</select> </select>

Loading…
Cancel
Save