diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/build/classes/.gitignore b/build/classes/.gitignore new file mode 100644 index 0000000..d36383e --- /dev/null +++ b/build/classes/.gitignore @@ -0,0 +1,3 @@ +/app.properties +/cn/ +/jdbc.properties diff --git a/build/classes/app.properties b/build/classes/app.properties index 1ad8ea2..75c550e 100644 --- a/build/classes/app.properties +++ b/build/classes/app.properties @@ -1,5 +1,5 @@ AppDebug=true -AppTrace=true +AppTrace=false AppParamHelper=cn.tsy.cas.idsse.dsds.helper.DSDSParamHelper AppListener=cn.tsy.cas.idsse.dsds.control.DSDSInitializeListener AppName=DSDSServer \ No newline at end of file diff --git a/build/classes/cn/tsy/cas/idsse/dsds/control/report/DSDSReportControl.class b/build/classes/cn/tsy/cas/idsse/dsds/control/report/DSDSReportControl.class index 23b4053..65187bd 100644 Binary files a/build/classes/cn/tsy/cas/idsse/dsds/control/report/DSDSReportControl.class and b/build/classes/cn/tsy/cas/idsse/dsds/control/report/DSDSReportControl.class differ diff --git a/build/classes/cn/tsy/cas/idsse/dsds/control/sample/SampleStationControl.class b/build/classes/cn/tsy/cas/idsse/dsds/control/sample/SampleStationControl.class index ad1e636..85781d8 100644 Binary files a/build/classes/cn/tsy/cas/idsse/dsds/control/sample/SampleStationControl.class and b/build/classes/cn/tsy/cas/idsse/dsds/control/sample/SampleStationControl.class differ diff --git a/build/classes/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.class b/build/classes/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.class index ba8764c..3ec317a 100644 Binary files a/build/classes/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.class and b/build/classes/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.class differ diff --git a/build/classes/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.xml b/build/classes/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.xml index aae5902..0a7b7c3 100644 --- a/build/classes/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.xml +++ b/build/classes/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.xml @@ -3,6 +3,7 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/app.properties b/src/main/java/app.properties index 1ad8ea2..75c550e 100644 --- a/src/main/java/app.properties +++ b/src/main/java/app.properties @@ -1,5 +1,5 @@ AppDebug=true -AppTrace=true +AppTrace=false AppParamHelper=cn.tsy.cas.idsse.dsds.helper.DSDSParamHelper AppListener=cn.tsy.cas.idsse.dsds.control.DSDSInitializeListener AppName=DSDSServer \ No newline at end of file diff --git a/src/main/java/cn/tsy/cas/idsse/dsds/control/report/DSDSReportControl.java b/src/main/java/cn/tsy/cas/idsse/dsds/control/report/DSDSReportControl.java index 02c3ecc..06b698f 100644 --- a/src/main/java/cn/tsy/cas/idsse/dsds/control/report/DSDSReportControl.java +++ b/src/main/java/cn/tsy/cas/idsse/dsds/control/report/DSDSReportControl.java @@ -43,8 +43,8 @@ public class DSDSReportControl extends HmeAjaxControl { * 科考船汇总统计属性 */ @RequestMapping("ship/total.htm") - public HmeAjax totalShip(String ship_name, LocalDate start, LocalDate end,Integer year) { - return new HmeAjax(this.iRegReport.reportShipTotal(ship_name, start, end,year)); + public HmeAjax totalShip(String unit,String ship_name, LocalDate start, LocalDate end,Integer year) { + return new HmeAjax(this.iRegReport.reportShipTotal(ship_name, start, end,year,unit)); } /*************** @@ -86,7 +86,7 @@ public class DSDSReportControl extends HmeAjaxControl { } /*************** - * 无人航行潜水器 + * 水下自主式无人潜器 */ @RequestMapping("platform/auv.htm") public HmeAjax platformAuv(String platform_name, LocalDate start, LocalDate end,Integer year) { @@ -94,7 +94,7 @@ public class DSDSReportControl extends HmeAjaxControl { } /*************** - * 遥控潜水器 + * 遥控水下机器人 */ @RequestMapping("platform/rov.htm") public HmeAjax platformRov(String platform_name, LocalDate start, LocalDate end,Integer year) { @@ -110,7 +110,7 @@ public class DSDSReportControl extends HmeAjaxControl { } /*************** - * 无人航行潜水器 + * 水下自主式无人潜器 */ @RequestMapping("platform/auv/unit.htm") public HmeAjax platformAuvUnit(String platform_name, LocalDate start, LocalDate end,Integer year) { @@ -118,7 +118,7 @@ public class DSDSReportControl extends HmeAjaxControl { } /*************** - * 遥控潜水器 + * 遥控水下机器人 */ @RequestMapping("platform/rov/unit.htm") public HmeAjax platformRovUnit(String platform_name, LocalDate start, LocalDate end,Integer year) { @@ -135,7 +135,7 @@ public class DSDSReportControl extends HmeAjaxControl { } /*************** - * 无人航行潜水器 + * 水下自主式无人潜器 */ @RequestMapping("platform/auv/unit/year.htm") public HmeAjax platformAuvUnitYear(String platform_name) { @@ -143,7 +143,7 @@ public class DSDSReportControl extends HmeAjaxControl { } /*************** - * 遥控潜水器 + * 遥控水下机器人 */ @RequestMapping("platform/rov/unit/year.htm") public HmeAjax platformRovUnitYear(String platform_name) { @@ -154,25 +154,45 @@ public class DSDSReportControl extends HmeAjaxControl { * 载人潜水器 */ @RequestMapping("platform/hov/diving.htm") - public HmeAjax platformHovDiving(String platform_name, LocalDate start, LocalDate end,Integer year) { - return new HmeAjax(this.iRegReport.reportPlatformDiving("'载人潜水器'", platform_name, start, end,year)); + public HmeAjax platformHovDiving(String unit,String platform_name, LocalDate start, LocalDate end,Integer year) { + System.out.println("--------------------------"); + return new HmeAjax(this.iRegReport.reportPlatformDiving(unit,"'载人潜水器'", platform_name, start, end,year)); } /*************** - * 无人航行潜水器 + * 潜次统计:水下自主式无人潜器 */ @RequestMapping("platform/auv/diving.htm") - public HmeAjax platformAuvDiving(String platform_name, LocalDate start, LocalDate end,Integer year) { - return new HmeAjax(this.iRegReport.reportPlatformDiving("'水下自主式无人潜器'", platform_name, start, end,year)); + public HmeAjax platformAuvDiving(String unit,String platform_name, LocalDate start, LocalDate end,Integer year) { + return new HmeAjax(this.iRegReport.reportPlatformDiving(unit,"'水下自主式无人潜器'", platform_name, start, end,year)); } /*************** - * 遥控潜水器 + * 潜次统计:遥控水下机器人 */ @RequestMapping("platform/rov/diving.htm") - public HmeAjax platformRovDiving(String platform_name, LocalDate start, LocalDate end,Integer year) { - return new HmeAjax(this.iRegReport.reportPlatformDiving("'遥控水下机器人'", platform_name, start, end, year)); + public HmeAjax platformRovDiving(String unit,String platform_name, LocalDate start, LocalDate end,Integer year) { + return new HmeAjax(this.iRegReport.reportPlatformDiving(unit,"'遥控水下机器人'", platform_name, start, end, year)); + } + + + + + /*************** + * 统计科学家 + */ + @RequestMapping("unit/member.htm") + public HmeAjax unitMember(String unit) { + return new HmeAjax(this.iRegReport.reportMember(unit)); } + /*************** + * 潜次统计:遥控水下机器人 + */ + @RequestMapping("unit/total.htm") + public HmeAjax unitTotal(String year,String unit) { + return new HmeAjax(this.iRegReport.reportUnit(year,unit)); + } + } diff --git a/src/main/java/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.java b/src/main/java/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.java index 04c361a..a8f603a 100644 --- a/src/main/java/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.java +++ b/src/main/java/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.java @@ -16,9 +16,10 @@ public interface IVoyageRegReportMapper extends IHmeMapper { * 科考船的汇总统计:目前有探索一号,探索二号、探索三号,海警101船(名字待定) * * @param ship_name 船的名称,如果不传,返回所有的 + * 2026-04-02 增加根据单位检索 */ public List> reportShipTotal(@Param("ship_name") String ship_name, @Param("start") LocalDate start, - @Param("end") LocalDate end,@Param("year") Integer year); + @Param("end") LocalDate end,@Param("year") Integer year,@Param("unit") String unit); /*************** * 统计参航单位 @@ -41,8 +42,21 @@ public interface IVoyageRegReportMapper extends IHmeMapper { public List> reportPlatfromUnitWithYear(@Param("platform_type") String platform_type,@Param("platform_name") String platform_name); - - public List> reportPlatformDiving(@Param("platform_type") String platform_type, + /****************** + * 统计参航航次 + */ + public List> reportPlatformDiving(@Param("unit") String unit,@Param("platform_type") String platform_type, @Param("platform_name") String platfrom_name, @Param("start") LocalDate start, @Param("end") LocalDate end,@Param("year") Integer year); + + + + /****************** + * 统计参航单位 + */ + public List> reportUnit(@Param("year") String year,@Param("unit") String unit); + /****************** + * 统计科学家 + */ + public List> reportMember(@Param("unit") String unit); } diff --git a/src/main/java/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.xml b/src/main/java/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.xml index aae5902..0a7b7c3 100644 --- a/src/main/java/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.xml +++ b/src/main/java/cn/tsy/data/cas/idsse/dsds/mapper/voyage/IVoyageRegReportMapper.xml @@ -3,6 +3,7 @@ + + + + + + + + + \ No newline at end of file