diff --git a/pom.xml b/pom.xml
index ed21472e..edd17069 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,9 +7,9 @@
ruoyi
4.3.1
- ruoyi
- http://www.ruoyi.vip
- 若依管理系统
+
+
+
4.3.1
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java
index a0e726bd..2be1aefa 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java
@@ -16,15 +16,5 @@ public class RuoYiApplication
{
// System.setProperty("spring.devtools.restart.enabled", "false");
SpringApplication.run(RuoYiApplication.class, args);
- System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" +
- " .-------. ____ __ \n" +
- " | _ _ \\ \\ \\ / / \n" +
- " | ( ' ) | \\ _. / ' \n" +
- " |(_ o _) / _( )_ .' \n" +
- " | (_,_).' __ ___(_ o _)' \n" +
- " | |\\ \\ | || |(_,_)' \n" +
- " | | \\ `' /| `-' / \n" +
- " | | \\ / \\ / \n" +
- " ''-' `'-' `-..-' ");
}
}
\ No newline at end of file
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/nanjing/StatisticStProductController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/nanjing/StatisticStProductController.java
index 4635ef15..58289231 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/nanjing/StatisticStProductController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/nanjing/StatisticStProductController.java
@@ -1,18 +1,24 @@
package com.ruoyi.web.controller.nanjing;
import com.ruoyi.common.core.controller.BaseController;
-import com.ruoyi.nanjing.domain.QsProduct;
+import com.ruoyi.nanjing.domain.QsStation;
+import com.ruoyi.nanjing.domain.TBdProductinfo;
+import com.ruoyi.nanjing.service.ITBdProductinfoService;
import com.ruoyi.nanjing.service.ITBdProducttypeService;
import com.ruoyi.system.domain.SysDept;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
+import javax.servlet.http.HttpServletRequest;
+import java.util.HashMap;
import java.util.List;
+import java.util.Map;
@Controller
@RequestMapping("/nanjing/StatisticStation")
@@ -22,21 +28,50 @@ public class StatisticStProductController extends BaseController {
@Autowired
private ITBdProducttypeService producttypeService;
+ @Autowired
+ private ITBdProductinfoService productinfoService;
@RequiresPermissions("nanjing:stationStatistic:view")
@GetMapping()
- public String stationProduct()
+ public String stationProduct(ModelMap map)
{
+ List tBdProductinfoList = productinfoService.selectTBdProductinfoList(new TBdProductinfo());
+ map.addAttribute("list",tBdProductinfoList);
return prefix + "/QsStation";
}
@RequiresPermissions("nanjing:stationStatistic:list")
@PostMapping("/list")
@ResponseBody
- public List list(QsProduct qsProduct)
+ public List list(QsStation qsStation)
+ {
+ List qsProducts = producttypeService.selectStationQs(qsStation);
+ return qsProducts;
+ }
+
+ @PostMapping("/listAll")
+ @ResponseBody
+ public List listAll(String begin,String end)
{
-// List qsProducts = producttypeService.selectDeptList(qsProduct);
-// return qsProducts;
- return null;
+ Map map = new HashMap();
+ map.put("begin",begin);
+ map.put("end",end);
+ map.put("productId","");
+ map.put("productType","");
+ List qsStations = producttypeService.selectAllQs(map);
+ return qsStations;
}
+ @PostMapping("/nodeClick")
+ @ResponseBody
+ public List nodeClick(String begin,String end,String node)
+ {
+ Map map = new HashMap();
+ map.put("begin",begin);
+ map.put("end",end);
+ map.put("stationId",node);
+ map.put("stationType",1);
+ map.put("productId","ALL");
+ List qsStations = producttypeService.selectNodeQs(map);
+ return qsStations;
+ }
}
diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 0614189e..cdee474a 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -1,13 +1,13 @@
# 项目相关配置
ruoyi:
# 名称
- name: RuoYi
+ name: Nanjing
# 版本
version: 4.3.1
# 版权年份
- copyrightYear: 2019
+ copyrightYear: 2021
# 实例演示开关
- demoEnabled: true
+ demoEnabled: false
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile: D:/ruoyi/uploadPath
# profile: /Users/sxile/MyWorkSpase/WorkSpase/uploadPath/RuoYi-SqlServer
diff --git a/ruoyi-admin/src/main/resources/banner.txt b/ruoyi-admin/src/main/resources/banner.txt
index 94662592..864f2456 100644
--- a/ruoyi-admin/src/main/resources/banner.txt
+++ b/ruoyi-admin/src/main/resources/banner.txt
@@ -1,24 +1,10 @@
Application Version: ${ruoyi.version}
Spring Boot Version: ${spring-boot.version}
-////////////////////////////////////////////////////////////////////
-// _ooOoo_ //
-// o8888888o //
-// 88" . "88 //
-// (| ^_^ |) //
-// O\ = /O //
-// ____/`---'\____ //
-// .' \\| |// `. //
-// / \\||| : |||// \ //
-// / _||||| -:- |||||- \ //
-// | | \\\ - /// | | //
-// | \_| ''\---/'' | | //
-// \ .-\__ `-` ___/-. / //
-// ___`. .' /--.--\ `. . ___ //
-// ."" '< `.___\_<|>_/___.' >'"". //
-// | | : `- \`.;`\ _ /`;.`/ - ` : | | //
-// \ \ `-. \_ __\ /__ _/ .-` / / //
-// ========`-.____`-.___\_____/___.-`____.-'======== //
-// `=---=' //
-// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
-// 佛祖保佑 永不宕机 永无BUG //
-////////////////////////////////////////////////////////////////////
\ No newline at end of file
+$$\ $$\ $$$$$$$$\ $$$$$$\ $$\ $$\ $$$$$$\ $$$$$$\
+$$$\ $$$ |$$ _____|$$ __$$\ $$$\ $$ |$$ __$$\ $$ __$$\
+$$$$\ $$$$ |$$ | $$ / \__|$$$$\ $$ |$$ / $$ |$$ / \__|
+$$\$$\$$ $$ |$$$$$\ \$$$$$$\ $$ $$\$$ |$$$$$$$$ |$$ |
+$$ \$$$ $$ |$$ __| \____$$\ $$ \$$$$ |$$ __$$ |$$ |
+$$ |\$ /$$ |$$ | $$\ $$ |$$ |\$$$ |$$ | $$ |$$ | $$\
+$$ | \_/ $$ |$$$$$$$$\ \$$$$$$ |$$ | \$$ |$$ | $$ |\$$$$$$ |
+\__| \__|\________| \______/ \__| \__|\__| \__| \______/
\ No newline at end of file
diff --git a/ruoyi-admin/src/main/resources/static/img/icn.png b/ruoyi-admin/src/main/resources/static/img/icn.png
new file mode 100644
index 00000000..e4a976d8
Binary files /dev/null and b/ruoyi-admin/src/main/resources/static/img/icn.png differ
diff --git a/ruoyi-admin/src/main/resources/static/img/login-background.jpg b/ruoyi-admin/src/main/resources/static/img/login-background.jpg
index adfa3f90..0fe0d083 100644
Binary files a/ruoyi-admin/src/main/resources/static/img/login-background.jpg and b/ruoyi-admin/src/main/resources/static/img/login-background.jpg differ
diff --git a/ruoyi-admin/src/main/resources/static/img/pay.png b/ruoyi-admin/src/main/resources/static/img/pay.png
deleted file mode 100644
index c32dca19..00000000
Binary files a/ruoyi-admin/src/main/resources/static/img/pay.png and /dev/null differ
diff --git a/ruoyi-admin/src/main/resources/static/img/qr_code.png b/ruoyi-admin/src/main/resources/static/img/qr_code.png
deleted file mode 100644
index ecba6d6a..00000000
Binary files a/ruoyi-admin/src/main/resources/static/img/qr_code.png and /dev/null differ
diff --git a/ruoyi-admin/src/main/resources/templates/index.html b/ruoyi-admin/src/main/resources/templates/index.html
index 0fdd5154..a0acef08 100644
--- a/ruoyi-admin/src/main/resources/templates/index.html
+++ b/ruoyi-admin/src/main/resources/templates/index.html
@@ -4,7 +4,7 @@
- 若依系统首页
+ 生产线数据采集系统
@@ -26,7 +26,7 @@
- RuoYi
+ Refresh
-
-
-
+
+
+
@@ -182,12 +182,12 @@