feat(bpm): 开支日报表增加支付状态筛选功能
- 在 BpmOAExpensesMapper.xml 中添加支付状态的查询条件 - 在 BpmOAExpensesPageReqVO 中添加 status 字段用于接收支付状态参数
This commit is contained in:
parent
535bacddb6
commit
79390abd30
@ -7,8 +7,6 @@ import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(description = "管理后台 - 开支日报分页 Request VO")
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@ -25,6 +23,9 @@ public class BpmOAExpensesPageReqVO extends PageParam {
|
||||
@Schema(description = "费用类型 | 字典值参照bpm_oa_expenses_type")
|
||||
private Integer type;
|
||||
|
||||
@Schema(description = "支付状态 | 0未支付 1已支付")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "费用板块 | 1叉车 2打包 3搬运 4运输")
|
||||
private Integer costSection;
|
||||
|
||||
|
@ -40,6 +40,9 @@
|
||||
<if test="pageReqVO.userId != null">
|
||||
AND b.user_id = #{pageReqVO.userId}
|
||||
</if>
|
||||
<if test="pageReqVO.status != null">
|
||||
AND b.status = #{pageReqVO.status}
|
||||
</if>
|
||||
<if test="pageReqVO.factoryId != null">
|
||||
AND a.dept_id = #{pageReqVO.factoryId}
|
||||
</if>
|
||||
|
Loading…
Reference in New Issue
Block a user