|
@ -54,7 +54,9 @@ import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
import java.time.DayOfWeek; |
|
|
import java.time.DayOfWeek; |
|
|
import java.time.LocalDate; |
|
|
import java.time.LocalDate; |
|
|
|
|
|
import java.time.LocalDateTime; |
|
|
import java.time.ZoneId; |
|
|
import java.time.ZoneId; |
|
|
|
|
|
import java.time.format.DateTimeFormatter; |
|
|
import java.util.*; |
|
|
import java.util.*; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -204,7 +206,12 @@ public class ItemHotlineServiceImpl extends BaseServiceImpl<ItemHotlineDao, Item |
|
|
baseDao.updateById(itemHotlineEntity); |
|
|
baseDao.updateById(itemHotlineEntity); |
|
|
RollBackHotLineFromDTO formdto =new RollBackHotLineFromDTO(); |
|
|
RollBackHotLineFromDTO formdto =new RollBackHotLineFromDTO(); |
|
|
formdto.setSqid(itemHotlineEntity.getSqid()); |
|
|
formdto.setSqid(itemHotlineEntity.getSqid()); |
|
|
formdto.setCzsj(new Date()); |
|
|
LocalDateTime currentDateTime = LocalDateTime.now(); |
|
|
|
|
|
|
|
|
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); |
|
|
|
|
|
String formattedDateTime = currentDateTime.format(formatter); |
|
|
|
|
|
|
|
|
|
|
|
formdto.setCzsj(formattedDateTime); |
|
|
formdto.setCznr(dto.getCznr()); |
|
|
formdto.setCznr(dto.getCznr()); |
|
|
RollBackHotLineFromDTO.CzrEntity czrEntity = new RollBackHotLineFromDTO.CzrEntity(); |
|
|
RollBackHotLineFromDTO.CzrEntity czrEntity = new RollBackHotLineFromDTO.CzrEntity(); |
|
|
UserDetail user = SecurityUser.getUser(); |
|
|
UserDetail user = SecurityUser.getUser(); |
|
|