技师列表
This commit is contained in:
parent
23178562b2
commit
d7259796b1
|
@ -171,7 +171,8 @@ public class ArtificerServiceImpl extends ServiceImpl<ArtificerDao, Artificer> i
|
|||
if(oldDate.equals(date)){
|
||||
artificer.setTime(stringBuilder.toString());
|
||||
}else{
|
||||
artificer.setTime(md.format(calendar.getTime())+" "+stringBuilder.toString());
|
||||
// artificer.setTime(md.format(calendar.getTime())+" "+stringBuilder.toString());
|
||||
artificer.setTime(simpleDateFormat.format(calendar.getTime())+" "+stringBuilder.toString());
|
||||
}
|
||||
if(artificer.getStatus()!=null && artificer.getStatus()==2){
|
||||
artificer.setState(3);
|
||||
|
@ -201,12 +202,12 @@ public class ArtificerServiceImpl extends ServiceImpl<ArtificerDao, Artificer> i
|
|||
}
|
||||
//2.服务开始前及结束后预留出行时间
|
||||
//精油往后延30 分钟,中医往后延60 分钟
|
||||
if(artificer.getClassifyId()==95){
|
||||
// if(artificer.getClassifyId()==95){
|
||||
String time = artificer.getTime();
|
||||
//在精油的基础上加30 分钟就是中医~~
|
||||
DateTime dateTime1 = DateUtil.offsetMinute(DateUtil.parse(time), 30);
|
||||
artificer.setTime(DateUtil.format(dateTime1,"HH:mm"));
|
||||
}
|
||||
// }
|
||||
}
|
||||
}else{
|
||||
|
||||
|
|
Loading…
Reference in New Issue