三表一册
This commit is contained in:
parent
e24321534c
commit
8a1a57dfa8
|
|
@ -17,6 +17,11 @@ public class PmOrg {
|
||||||
*/
|
*/
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号
|
||||||
|
*/
|
||||||
|
private String orgId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分公司id
|
* 分公司id
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,10 @@
|
||||||
<if test="subComId !=null">
|
<if test="subComId !=null">
|
||||||
and po.sub_com_id = #{subComId}
|
and po.sub_com_id = #{subComId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="orgId !=null">
|
||||||
|
and po.id = #{orgId}
|
||||||
|
</if>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
<select id="selectPmOrgByOrgName" resultType="com.bonus.bmw.domain.po.PmOrg">
|
<select id="selectPmOrgByOrgName" resultType="com.bonus.bmw.domain.po.PmOrg">
|
||||||
select id as id,
|
select id as id,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue