添加查询公司代码,以及年度和月份等值判断
This commit is contained in:
parent
89a3c22279
commit
50e8fdb834
|
@ -46,6 +46,8 @@ public class AcctVouchInfoEntity extends BaseEntity {
|
|||
private String branch_code;
|
||||
/** 院区名称 */
|
||||
private String branch_name;
|
||||
/** 院区名称 */
|
||||
private String gsdm;
|
||||
|
||||
public String getAcct_year() {
|
||||
return acct_year;
|
||||
|
@ -190,5 +192,13 @@ public class AcctVouchInfoEntity extends BaseEntity {
|
|||
public void setBranch_name(String branch_name) {
|
||||
this.branch_name = branch_name;
|
||||
}
|
||||
|
||||
public String getGsdm() {
|
||||
return gsdm;
|
||||
}
|
||||
|
||||
public void setGsdm(String gsdm) {
|
||||
this.gsdm = gsdm;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -174,8 +174,9 @@
|
|||
<include refid="AcctVouchInfoEntity_Base_Column_List" />
|
||||
from acct_vouch_info
|
||||
<trim prefix="where" prefixOverrides="and">
|
||||
<if test="acct_year != null and acct_year != ''"> and acct_year like '%${acct_year}%' </if>
|
||||
<if test="acct_month != null and acct_month != ''"> and acct_month like '%${acct_month}%' </if>
|
||||
<if test="acct_year != null and acct_year != ''"> and acct_year = '${acct_year}' </if>
|
||||
<if test="acct_month != null and acct_month != ''"> and acct_month = '${acct_month}' </if>
|
||||
<if test="gsdm != null and gsdm != ''"> and gsdm = '${gsdm}' </if>
|
||||
<if test="dept_code != null and dept_code != ''"> and dept_code like '%${dept_code}%' </if>
|
||||
<if test="dept_name != null and dept_name != ''"> and dept_name like '%${dept_name}%' </if>
|
||||
<if test="acct_subj_code != null and acct_subj_code != ''"> and acct_subj_code like '%${acct_subj_code}%' </if>
|
||||
|
|
Loading…
Reference in New Issue