فهرست منبع

时间格式化调整

qiangxuan 1 ماه پیش
والد
کامیت
a8ab9c5c71

+ 2 - 2
zgzt-sys-java/jeecg-module-conn/src/main/java/org/jeecg/modules/billetActual/service/impl/BilletHotsendChangeShiftServiceImpl.java

@@ -194,7 +194,7 @@ public class BilletHotsendChangeShiftServiceImpl extends ServiceImpl<BilletHotse
                 return result;
             }
             // 更新当前班次的交班时间,相当于上一个班交班的结束时间
-            billetHotsendChangeShift.setChangeShiftTime(DateUtils.str2Date(changeShiftTime, DateUtils.datetimeFormat.get()));
+            billetHotsendChangeShift.setChangeShiftTime(DateUtils.str2Date(changeShiftTime, DateUtils.datetime_T_format.get()));
             billetHotsendChangeShift.setUpdateTime(new Date());
             baseMapper.updateById(billetHotsendChangeShift);
 
@@ -301,7 +301,7 @@ public class BilletHotsendChangeShiftServiceImpl extends ServiceImpl<BilletHotse
                 return result;
             }
             // 更新当前班次的交班时间,相当于上一个班交班的结束时间
-            billetHotsendChangeShift.setChangeShiftTime(DateUtils.str2Date(changeShiftTime, DateUtils.datetimeFormat.get()));
+            billetHotsendChangeShift.setChangeShiftTime(DateUtils.str2Date(changeShiftTime, DateUtils.datetime_T_format.get()));
             billetHotsendChangeShift.setUpdateTime(new Date());
             baseMapper.updateById(billetHotsendChangeShift);