jsk --- 洗车提醒
This commit is contained in:
parent
73af9c0348
commit
85ce660e57
|
|
@ -329,11 +329,11 @@ public class GreenWashCarController extends GreenBaseController {
|
|||
+ "UPD_USER,to_char(UPD_TIME,'yyyy-mm-dd hh24:mi:ss') AS \"UPD_TIME\",DEL_FLAG,APPLY_PLACE,LICENSEPLATE,"
|
||||
+ "STARTREMIND,ENDREMIND,MOVE_CAR,INT_STATUS,IS_PUSH "
|
||||
+ " from green_wash_car_info where SUBSTR(APPLY_TIME,1,5)>to_char(SYSDATE,'hh24:mi') and APPLY_DATE ='"+info.getApplyDate()+"' order by APPLY_TIME asc";
|
||||
System.out.println( sql);
|
||||
List<Map<String, Object>> list = hibernateDao.queryForListWithSql(sql);
|
||||
if(list==null||list.size()==0||list.get(0).get("ID")==null){
|
||||
return new RestResult(Constant.FAILED, "今日已无下一位预约洗车用户!");
|
||||
}
|
||||
System.out.println( sql);
|
||||
System.out.println( list.size());
|
||||
System.out.println( list.get(0).get("ID"));
|
||||
String userId = (String) list.get(0).get("USER_ID");
|
||||
|
|
|
|||
Loading…
Reference in New Issue