|
|
@ -58,6 +58,7 @@ import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
@ -413,6 +414,11 @@ public class AsBusreserveBillService extends MybatisBaseService<AsBusreserveBill |
|
|
|
if (StringUtils.isNotBlank(bill.getCustomerOrg())) { |
|
|
|
billDto.setCustomerOrg(bill.getCustomerOrg()); |
|
|
|
} |
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|
|
|
String format = sdf.format(new Date()); |
|
|
|
billDto.setEntryTime(format); |
|
|
|
billDto.setEstimatedFinishTime(format); |
|
|
|
billDto.setIsSpecialSign("0"); |
|
|
|
if (!dto.getSitemVos().isEmpty()) { |
|
|
|
List<SitemVo> sitemVos = new ArrayList<>();// 服务项目
|
|
|
|
for (AsbillSitemVo sitemVo : dto.getSitemVos()) { |
|
|
|