| | |
| | | |
| | | |
| | | @Select("SELECT\n" + |
| | | " DISTINCT a.tj_number \n" + |
| | | "FROM\n" + |
| | | " tj_order_remark a\n" + |
| | | " JOIN sys_dept b ON b.dept_id = a.dept_id \n" + |
| | | "WHERE\n" + |
| | | " a.deleted = 0 \n" + |
| | | " AND b.org_type = 1 \n" + |
| | | " AND a.type=0") |
| | | " DISTINCT a.tj_number \n" + |
| | | " FROM\n" + |
| | | " tj_order_remark a\n" + |
| | | " JOIN sys_dept b ON b.dept_id = a.dept_id \n" + |
| | | " JOIN tj_order o ON a.tj_number = o.tj_number\n" + |
| | | " WHERE\n" + |
| | | " a.deleted = 0 \n" + |
| | | " AND b.org_type = 1 \n" + |
| | | " AND a.type=0 AND o.deleted = 0") |
| | | List<String> getDingShiTongBuJianYanTjNum(); |
| | | |
| | | |
| | | @Select(" SELECT\n" + |
| | | " DISTINCT a.tj_number \n" + |
| | | "FROM\n" + |
| | | " tj_order_remark a\n" + |
| | | " JOIN sys_dept b ON b.dept_id = a.dept_id \n" + |
| | | "WHERE\n" + |
| | | " a.deleted = 0 \n" + |
| | | " AND b.org_type = 2 \n" + |
| | | " AND a.type =0") |
| | | @Select("SELECT\n" + |
| | | " DISTINCT a.tj_number\n" + |
| | | " FROM\n" + |
| | | " tj_order_remark a\n" + |
| | | " JOIN sys_dept b ON b.dept_id = a.dept_id\n" + |
| | | " JOIN tj_order o ON o.tj_number = a.tj_number\n" + |
| | | " WHERE\n" + |
| | | " a.deleted = 0\n" + |
| | | " AND b.org_type = 2\n" + |
| | | " AND a.type =0 AND o.deleted = 0") |
| | | List<String> getDingShiTongBuJianChaTjNum(); |
| | | |
| | | |