Commit d49c4712 by ilal

Merge branch 'lal' into develop

parents 99962752 9cafb016
...@@ -23,6 +23,8 @@ public class PayTermDto implements Serializable { ...@@ -23,6 +23,8 @@ public class PayTermDto implements Serializable {
Integer xgsid;// 项对应的公式id Integer xgsid;// 项对应的公式id
String xgsgs;// 项公式 String xgsgs;// 项公式
Integer zxzzid;
Integer xiscustom;//是否自定义项(0:否;1:是) Integer xiscustom;//是否自定义项(0:否;1:是)
Integer xrulestate;// Integer xrulestate;//
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
</sql> </sql>
<select id="IndividualTotalsbgjj" resultMap="BaseResultMap"> <select id="IndividualTotalsbgjj" resultMap="BaseResultMap">
select * from sbgjj_asso_yjzd yj <!-- select * from sbgjj_asso_yjzd yj
where yj.cbryid = ( where yj.cbryid = (
select cb.id from sbgjj_admin_cbry cb select cb.id from sbgjj_admin_cbry cb
where cb.user_num = #{usernum} where cb.user_num = #{usernum}
...@@ -97,6 +97,17 @@ ...@@ -97,6 +97,17 @@
and cb.state = 1 and cb.state = 1
and cb.is_use = 1 and cb.is_use = 1
) )
and yj.qyid = #{qyid} -->
select * from sbgjj_asso_yjzd yj
where yj.zymonth = #{zymonth}
and yj.user_num = #{usernum}
and yj.cbryid = (
select cb.id from sbgjj_admin_cbry cb
where cb.user_num = #{usernum}
and cb.state = 1
and cb.is_use = 1
and cb.qyid = #{qyid})
and yj.qyid = #{qyid} and yj.qyid = #{qyid}
</select> </select>
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
<result column="xoptionid" property="xoptionid"/> <result column="xoptionid" property="xoptionid"/>
<result column="xiscustom" property="xiscustom"/> <result column="xiscustom" property="xiscustom"/>
<result column="xrulestate" property="xrulestate"/> <result column="xrulestate" property="xrulestate"/>
<result column="zxzzid" property="zxzzid"/>
</collection> </collection>
</resultMap> </resultMap>
...@@ -190,7 +191,8 @@ ...@@ -190,7 +191,8 @@
gzzx.optionid as xoptionid, gzzx.optionid as xoptionid,
jxgz.xzzid as zxzzid, jxgz.xzzid as zxzzid,
gzzx.is_custom as xiscustom, gzzx.is_custom as xiscustom,
gzzx.rulestate as xrulestate gzzx.rulestate as xrulestate,
gzzx.xzzid as zxzzid
from xcgl_asso_jxgz jxgz from xcgl_asso_jxgz jxgz
LEFT JOIN xcgl_asso_jsgzzx as gzzx on gzzx.jxgzid = jxgz.id LEFT JOIN xcgl_asso_jsgzzx as gzzx on gzzx.jxgzid = jxgz.id
where jxgz.xzzid = #{xzzid} where jxgz.xzzid = #{xzzid}
......
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