| | |
| | | @Select("SELECT * FROM tj_order WHERE deleted='0' and user_id = #{userId} AND !ISNULL(finish_time) " + |
| | | "and !ISNULL(confirm_time) ") |
| | | List<TjOrder> getCsTjOrderListByCusId1(Long userId); |
| | | |
| | | |
| | | @Select("SELECT GROUP_CONCAT( DISTINCT b.pro_name SEPARATOR ';' ) aa FROM tj_order_remark a" + |
| | | " LEFT JOIN tj_project b ON a.pro_id=b.pro_id WHERE a.deleted=0 AND a.tj_number= #{tjNum} AND a.type !=2") |
| | | String getHistoryTjOrderProByTjNum(String tjNum); |
| | | |
| | | |
| | | @Select("SELECT * FROM tj_order WHERE deleted='0' and user_id =#{userId}" + |
| | | " AND !ISNULL(finish_time) ORDER BY create_time DESC LIMIT 1") |
| | | TjOrder getLastTjOrderListByCusId(Long userId); |
| | | } |