This commit is contained in:
haozq 2024-11-14 17:10:12 +08:00
parent 6a7f73227b
commit 7244e07415
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public class PlanDevBean {
private int needNum;
private String needTimes;
private String times;
private String remarks;
/**

View File

@ -168,7 +168,7 @@
</select>
<select id="getTypeList" resultType="com.bonus.gzgqj.business.plan.entity.PlanDevBean">
SELECT mt.ID id ,mt.PARENT_ID pId,mt.`LEVEL` level,mt.UNIT unit,mt.NUM num ,mt.`NAME` name ,mt1.`NAME` pName ,
mt2.`NAME` ppName,"" needNum,"" needTimes,"" remarks
mt2.`NAME` ppName,"" needNum,"" times,"" remarks
from mm_type mt
LEFT JOIN mm_type mt1 on mt.PARENT_ID=mt1.id and mt1.IS_ACTIVE=1
LEFT JOIN mm_type mt2 on mt1.PARENT_ID=mt2.id and mt2.IS_ACTIVE=1