|
@@ -12,7 +12,6 @@ import com.palmnest.application.dto.WechatMessageDto;
|
|
|
import com.palmnest.application.dto.WxMessageConfigVo;
|
|
|
import com.palmnest.application.dto.input.*;
|
|
|
import com.palmnest.application.dto.output.*;
|
|
|
-import com.palmnest.dao.airconditioner.AirConditionerAddTimeOrderHistoryDao;
|
|
|
import com.palmnest.dao.estateserve.EnterprisePermissionDao;
|
|
|
import com.palmnest.model.*;
|
|
|
import com.palmnest.model.airconditioner.*;
|
|
@@ -93,8 +92,6 @@ public class ConditionerAddTimeServiceImpl implements ConditionerAddTimeService
|
|
|
private EnterprisePermissionDao enterprisePermissionDao;
|
|
|
@Autowired
|
|
|
private ConditionerAddTimeOrderExtendManager conditionerAddTimeOrderExtendManager;
|
|
|
- @Autowired
|
|
|
- private AirConditionerAddTimeOrderHistoryDao airConditionerAddTimeOrderHistoryDao;
|
|
|
|
|
|
|
|
|
MathContext mc = new MathContext(2, RoundingMode.HALF_UP);
|
|
@@ -2764,7 +2761,7 @@ public class ConditionerAddTimeServiceImpl implements ConditionerAddTimeService
|
|
|
airConditionerAddTime.setModificationDisabled(order.getModificationDisabled());// 是否关闭修改功能
|
|
|
|
|
|
// 保存修改记录
|
|
|
- airConditionerAddTimeOrderHistoryDao.save(
|
|
|
+ conditionerAddTimeOrderExtendManager.saveHistory(
|
|
|
AirConditionerAddTimeOrderHistory.builder()
|
|
|
.orderNo(airConditionerAddTime.getCode())// 订单号
|
|
|
.beforeUpdate(history)// 更新前
|
|
@@ -2788,7 +2785,7 @@ public class ConditionerAddTimeServiceImpl implements ConditionerAddTimeService
|
|
|
@Override
|
|
|
public AirConditionerAddTimeOutWebVO assembleOrderHistory(AirConditionerAddTimeOutDto dto) {
|
|
|
String code = dto.getCode();// 订单号
|
|
|
- List<AirConditionerAddTimeOrderHistory> list = airConditionerAddTimeOrderHistoryDao.getByOrderNo(code);
|
|
|
+ List<AirConditionerAddTimeOrderHistory> list = conditionerAddTimeOrderExtendManager.getHistoryListByOrderNo(code);
|
|
|
|
|
|
List<AirConditionerAddTimeHistoryVO> history = new ArrayList<>();
|
|
|
|