|
@@ -166,13 +166,13 @@ public class BookingComplainImplDao implements BookingComplainDao {
|
|
|
@Override
|
|
@Override
|
|
|
public ProgressDetailsVo progressDetails(String complaintId) {
|
|
public ProgressDetailsVo progressDetails(String complaintId) {
|
|
|
String sql="SELECT\n" +
|
|
String sql="SELECT\n" +
|
|
|
- "\tbc.booking_id as bookingId,\n" +
|
|
|
|
|
|
|
+ "\tb.order_num as bookingId,\n" +
|
|
|
"\tbc.id as complaintId,\n" +
|
|
"\tbc.id as complaintId,\n" +
|
|
|
"\tbc.title,\n" +
|
|
"\tbc.title,\n" +
|
|
|
"\tbc.content,\n" +
|
|
"\tbc.content,\n" +
|
|
|
"\tbc.create_date as dateTime\n" +
|
|
"\tbc.create_date as dateTime\n" +
|
|
|
"FROM\n" +
|
|
"FROM\n" +
|
|
|
- "\t`booking_complaint` bc\n" +
|
|
|
|
|
|
|
+ "\t`booking_complaint` bc LEFT JOIN booking b on b.id=bc.booking_id and b.status_del=1 \n" +
|
|
|
" where bc.id=:complaintId and bc.`status`=1";
|
|
" where bc.id=:complaintId and bc.`status`=1";
|
|
|
MapSqlParameterSource sps = new MapSqlParameterSource();
|
|
MapSqlParameterSource sps = new MapSqlParameterSource();
|
|
|
sps.addValue("complaintId", complaintId);
|
|
sps.addValue("complaintId", complaintId);
|