新增流程列表筛选及机构号展示

This commit is contained in:
wkc
2026-08-10 11:53:45 +08:00
parent 83e1959b94
commit 39c7b716cd
4 changed files with 64 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
@@ -164,6 +165,16 @@ public class LoanPricingWorkflow implements Serializable
@TableField(exist = false)
private Long dataScopeDeptId;
/** 创建时间查询起始值 */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField(exist = false)
private Date beginCreateTime;
/** 创建时间查询结束值 */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField(exist = false)
private Date endCreateTime;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField(fill = FieldFill.INSERT)

View File

@@ -9,6 +9,8 @@ public class LoanPricingWorkflowListVO
{
private String serialNum;
private Long deptId;
private String custIsn;
private String custName;

View File

@@ -7,6 +7,7 @@
<select id="selectWorkflowPageWithRates" resultType="com.ruoyi.loanpricing.domain.vo.LoanPricingWorkflowListVO">
SELECT
lpw.serial_num AS serialNum,
lpw.dept_id AS deptId,
lpw.cust_isn AS custIsn,
lpw.cust_name AS custName,
lpw.cust_type AS custType,
@@ -49,6 +50,18 @@
<if test="query != null and query.deptId != null">
AND lpw.dept_id = #{query.deptId}
</if>
<if test="query != null and query.custType != null and query.custType != ''">
AND lpw.cust_type = #{query.custType}
</if>
<if test="query != null and query.guarType != null and query.guarType != ''">
AND lpw.guar_type = #{query.guarType}
</if>
<if test="query != null and query.beginCreateTime != null">
AND lpw.create_time &gt;= #{query.beginCreateTime}
</if>
<if test="query != null and query.endCreateTime != null">
AND lpw.create_time &lt;= #{query.endCreateTime}
</if>
</where>
ORDER BY lpw.update_time DESC
</select>