Jelajahi Sumber

修改添加记录的bug 无法显示用户ID11

wzh 2 tahun lalu
induk
melakukan
ee5151ef5a

+ 2 - 2
ruoyi-iot/src/main/java/com/ruoyi/iot/service/impl/TDevicePlanServiceImpl.java

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