浏览代码

update -----
1.炼钢日报

QuietShadow 3 年之前
父节点
当前提交
1c8e1abb78

+ 1 - 1
src/main/java/com/steerinfo/weight/lgmes/controller/LgReportController.java

@@ -19,7 +19,7 @@ public class LgReportController {
 
 
     @GetMapping("/queryReportByTime")
-    public List<EmsScqkLg> QueryWeightByTime(){
+    public List<EmsScqkLg> QueryReportByTime(){
         Calendar calendar = Calendar.getInstance(); //创建Calendar 的实例
 //可以转成你想要的格式 yyyy/MM/dd HH:mm:ss 等等
         SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");

+ 0 - 1
src/main/java/com/steerinfo/weight/lgmes/controller/LgWeightController.java

@@ -27,5 +27,4 @@ public class LgWeightController {
         return  lgWeights;
     }
 
-
 }

+ 1 - 0
src/main/java/com/steerinfo/weight/lgmes/service/impl/LgReportImpl.java

@@ -14,6 +14,7 @@ public class LgReportImpl implements ILgReportService {
     @Autowired
     private LgReportMapper lgReportMapper;
 
+    @Override
     @TargetDataSource(name = "ds2")
     public List<EmsScqkLg> QueryReportByTime(String clock) {
         return lgReportMapper.QueryReportByTime(clock);