|
|
@@ -739,13 +739,13 @@ public class BookingCommentImplDao implements BookingCommentDao {
|
|
|
"\tb.house_name AS houseName,\n" +
|
|
|
"\tb.live_time AS liveTime,\n" +
|
|
|
"\tb.check_out_time AS checkOutTime,\n" +
|
|
|
- "\tb.pay_account AS payAccount ,fi.url as url\n" +
|
|
|
+ "\tb.pay_account AS payAccount ,fi.url as url,w.workflow_remark as remark\n" +
|
|
|
"FROM\n" +
|
|
|
"\t`booking` b\n" +
|
|
|
"\tINNER JOIN booking_comment bc ON b.id = bc.booking_id \n" +
|
|
|
"\tAND bc.comment_parent_id IS NULL \n" +
|
|
|
"\tAND bc.`status` = 3\n" +
|
|
|
- "\tLEFT JOIN users u ON u.id = b.create_userid LEFT JOIN file_info fi on fi.link_id=b.house_id \n" +
|
|
|
+ "\tLEFT JOIN users u ON u.id = b.create_userid LEFT JOIN file_info fi on fi.link_id=b.house_id LEFT JOIN workflow w ON bc.id=w.link_id \n" +
|
|
|
"WHERE\n" +
|
|
|
"\tu.id = :usersId \n" +
|
|
|
"\tAND b.order_status = 5 \n" +
|
|
|
@@ -770,7 +770,7 @@ public class BookingCommentImplDao implements BookingCommentDao {
|
|
|
"\tINNER JOIN booking_comment bc ON b.id = bc.booking_id \n" +
|
|
|
"\tAND bc.comment_parent_id IS NULL \n" +
|
|
|
"\tAND bc.`status` = 3\n" +
|
|
|
- "\tLEFT JOIN users u ON u.id = b.create_userid LEFT JOIN file_info fi on fi.link_id=b.house_id \n" +
|
|
|
+ "\tLEFT JOIN users u ON u.id = b.create_userid LEFT JOIN file_info fi on fi.link_id=b.house_id LEFT JOIN workflow w ON bc.id=w.link_id \n" +
|
|
|
"WHERE\n" +
|
|
|
"\tu.id = :usersId \n" +
|
|
|
"\tAND b.order_status = 5 \n" +
|