Commit fa21bb63 by 穆龙飞

modify:修改同舟查询条件

parent a4e5a20a
Pipeline #43946 passed with stages
in 1 minute 53 seconds
......@@ -71,4 +71,9 @@ public class ChangeFlowListQueryReq {
* @see CreateSourceEnum
*/
private Integer createSource;
/**
* 创建端
*/
private String createSupplier;
}
\ No newline at end of file
......@@ -78,6 +78,9 @@
<if test="endTime != null">
and create_time <![CDATA[ < ]]> #{endTime}
</if>
<if test="createSupplier != null">
and create_supplier = #{createSupplier}
</if>
</where>
order by create_time desc
</select>
......
......@@ -110,6 +110,9 @@ public class ChangeFlowController {
}
if (CreateSourceEnum.TONG_ZHOU.getType().equals(createSource)) {
Assert.isTrue(Strings.isNotBlank(supplier), "同舟端查询供应商id不可为空");
changeFlowListQueryReq.setCreateSource(createSource);
changeFlowListQueryReq.setSupplier(null);
changeFlowListQueryReq.setCreateSupplier(supplier);
}
return AjaxResult.success(changeFlowBiz.query(page, pageSize, changeFlowListQueryReq));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment