This commit is contained in:
parent
6a7f73227b
commit
7244e07415
|
|
@ -29,7 +29,7 @@ public class PlanDevBean {
|
|||
|
||||
private int needNum;
|
||||
|
||||
private String needTimes;
|
||||
private String times;
|
||||
|
||||
private String remarks;
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue