|
|
@@ -48,13 +48,13 @@ public class TDevicePlanServiceImpl extends ServiceImpl<TDevicePlanMapper,TDevic
|
|
|
|
|
|
@Override
|
|
|
public void addNew(TDevicePlanAddNewDTO tDevicePlanAddNewDTO) {
|
|
|
- log.debug("开始处理【添加预约】的业务,参数:{}", tDevicePlanAddNewDTO);
|
|
|
+ log.info("开始处理【添加预约】的业务,参数:{}", tDevicePlanAddNewDTO);
|
|
|
// 创建TDevicePlan对象
|
|
|
TDevicePlan tDevicePlan = new TDevicePlan();
|
|
|
// 调用BeanUtils.copyProperties(源,目标)将参数对象中的属性复制到TDevicePlan对象中
|
|
|
BeanUtils.copyProperties(tDevicePlanAddNewDTO, tDevicePlan);
|
|
|
// 调用Mapper对象的insert()执行插入预约数据
|
|
|
- log.debug("即将执行插入数据,参数:{}", tDevicePlan);
|
|
|
+ log.info("即将执行插入数据,参数:{}", tDevicePlan);
|
|
|
tDevicePlan.setStatus(1l);
|
|
|
int rows = tDevicePlanMapper.insert(tDevicePlan);
|
|
|
if (rows != 1) {
|