三表一册

This commit is contained in:
马三炮 2025-09-29 15:36:23 +08:00
parent e24321534c
commit 8a1a57dfa8
2 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,11 @@ public class PmOrg {
*/ */
private String id; private String id;
/**
* 编号
*/
private String orgId;
/** /**
* 分公司id * 分公司id
*/ */

View File

@ -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,