| | |
| | | , p.UPDATE_TIME |
| | | , p.create_by |
| | | , p.update_by |
| | | , (select sys_user.realname from sys_user where p.create_by=sys_user.username) as createName |
| | | , (select sys_user.realname from sys_user where p.update_by=sys_user.username) as updateName |
| | | from nc_product_info p |
| | | inner join |
| | | (select distinct product_id from nc_permission_stream where delete_flag = 0 and user_id=#{userId}) s |
| | | on p.product_id = s.product_id |
| | | (select business_id,business_type from nc_permission_stream_new where delete_flag = 0 and user_id=#{userId}) s |
| | | on p.product_id = s.business_id and s.business_type='1' |
| | | where p.delete_flag = 0 |
| | | order by p.create_time asc |
| | | </select> |