|
@@ -32,7 +32,7 @@ public class ServiceTimeControDaoImpl implements ServiceTimeControDao{
|
|
|
@Override
|
|
|
public List<TimeControConfigVo> listPageTimeControConfig(TimeControConfigVo timeControConfigVo){
|
|
|
StringBuffer stringBuffer = new StringBuffer();
|
|
|
- String select = "select timecontro_id,platform_id,saledate_start,saledate_end,daytime_start,daytime_end,edit_user,update_time,add_time,status from sc_service_time_contro ";
|
|
|
+ String select = "select timecontro_id as timecontroId,platform_id as platformId,saledate_start as saledateStart,saledate_end as saledateEnd,daytime_start as daytimeStart,daytime_end as daytimeEnd,edit_user,update_time as updateTime,add_time,status from sc_service_time_contro ";
|
|
|
stringBuffer.append(select);
|
|
|
Map<String,Object> map= map(timeControConfigVo);
|
|
|
String where = " where 1 = 1 " + map.keySet().stream().map(t -> " and " + t + "=?").collect(Collectors.joining(" "));
|