| | |
| | | TDMI.ITEMORDER, |
| | | TMPI.STATUS, |
| | | TDMI.CATEGORYID, |
| | | TMIO.POINTID, |
| | | TMIO.TAGNAME, |
| | | TMIO.RESULTTABLEID, |
| | | TMRT.TABLENAME |
| | | TMIS.last_time, |
| | | TMIS.status run_status, |
| | | TMIS.duration |
| | | FROM T_MM_PREDICT_ITEM TMPI |
| | | LEFT JOIN T_MM_ITEM_TYPE TMIT ON TMIT.ID = TMPI.ITEMTYPEID |
| | | LEFT JOIN T_DM_MODULE_ITEM TDMI ON TDMI.ITEMID = TMPI.ID |
| | | LEFT JOIN T_MM_ITEM_OUTPUT TMIO ON TMIO.ITEMID = TMPI.ID |
| | | LEFT JOIN T_MM_RESULT_TABLE TMRT ON TMRT.ID = TMIO.RESULTTABLEID |
| | | LEFT JOIN t_mm_item_status TMIS ON TMIS.item_id = TMPI.ID |
| | | <where> |
| | | <if test="params.itemno != null and params.itemno != ''"> |
| | | AND TMPI.ITEMNO LIKE CONCAT('%', #{params.itemno},'%') |