commit
This commit is contained in:
+3
-1
@@ -37,7 +37,7 @@ public class preAuditQueryController {
|
|||||||
@At
|
@At
|
||||||
@ViReturn
|
@ViReturn
|
||||||
@RequiresPermissions("reimbursementPreAudit.manage")
|
@RequiresPermissions("reimbursementPreAudit.manage")
|
||||||
public Object pageData(PageForm pageForm, String startDate, String endDate, String notes) {
|
public Object pageData(PageForm pageForm, String startDate, String endDate, String notes,String unitId,String unionId) {
|
||||||
Cnd cnd = Cnd.NEW();
|
Cnd cnd = Cnd.NEW();
|
||||||
Sql sql = Sqls.create("""
|
Sql sql = Sqls.create("""
|
||||||
SELECT * FROM `reimbursement_pre_audit` $condition
|
SELECT * FROM `reimbursement_pre_audit` $condition
|
||||||
@@ -46,6 +46,8 @@ public class preAuditQueryController {
|
|||||||
cnd.andEX("applyDate", "<=", endDate);
|
cnd.andEX("applyDate", "<=", endDate);
|
||||||
cnd.andEX("userId", "=", ShiroUtil.getUserId());
|
cnd.andEX("userId", "=", ShiroUtil.getUserId());
|
||||||
cnd.andEX("auditState", "=", 3);
|
cnd.andEX("auditState", "=", 3);
|
||||||
|
cnd.andEX("unitId", "=", unitId);
|
||||||
|
cnd.andEX("unionId", "=", unionId);
|
||||||
cnd.desc("applyDate").desc("opAt");
|
cnd.desc("applyDate").desc("opAt");
|
||||||
if (StrUtil.isNotEmpty(notes)) {
|
if (StrUtil.isNotEmpty(notes)) {
|
||||||
cnd.andEX("notes", "like", "%" + notes + "%");
|
cnd.andEX("notes", "like", "%" + notes + "%");
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ layout("/layouts/platform.html"){
|
|||||||
<el-col class="query-row-title">入会时间:</el-col>
|
<el-col class="query-row-title">入会时间:</el-col>
|
||||||
<el-col class="query-row-content">
|
<el-col class="query-row-content">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
style="width: 100%"
|
style="width: 400px"
|
||||||
v-model="pageForm.memberJoinTime"
|
v-model="pageForm.memberJoinTime"
|
||||||
type="daterange"
|
type="daterange"
|
||||||
range-separator="至"
|
range-separator="至"
|
||||||
|
|||||||
Reference in New Issue
Block a user