Compare commits

...

2 Commits

Author SHA1 Message Date
songjinsheng
5c0a93f679 Merge branch 'dev' of https://gitea.star-rising.cn/Song/xkrs_ms into dev 2022-05-24 11:29:25 +08:00
songjinsheng
264a5d910f 修改接口 2022-05-24 11:29:11 +08:00
15 changed files with 130 additions and 132 deletions

View File

@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.IAorestCoverageService;
import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@ -14,12 +15,13 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.xml.crypto.Data;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.util.List;
/**
* 森林覆盖率
* @Author: JinSheng Song
* @Date: 2022/5/11 9:08
*/
@RestController
@RequestMapping(value = "/business-service/api/Aorest", produces = "application/json;charset=UTF-8")
@ -29,9 +31,9 @@ public class AorestCoverageController {
/**
* 查询方法
* @param response
* @param request
* @return
* @param response 响应头
* @param request 客户端请求
* @return 参数类
*/
@RequestMapping(value = "/selectAorestCoverage",method = {RequestMethod.POST})
public AjaxResult selectAorestCoverage(HttpServletResponse response, HttpServletRequest request)
@ -42,8 +44,8 @@ public class AorestCoverageController {
/**
* 删除方法
* @param ID
* @return
* @param ID 单据id
* @return 状态码
*/
@RequestMapping(value = "/DelAorestCoverage",method = {RequestMethod.POST})
public AjaxResult DelAorestCoverage(@Param("ID") String ID)
@ -59,17 +61,25 @@ public class AorestCoverageController {
/**
* 新增方法
* @param eastVOS
* @return
* @param eastVOS 新增实体类
* @return 状态码
*/
@RequestMapping(value = "/IntoAorestCoverage",method = {RequestMethod.POST})
public AjaxResult IntoAorestCoverage(AorestCoverageVO eastVOS)
public AjaxResult IntoAorestCoverage(@RequestBody AorestCoverageVO eastVOS)
{
int NUM = service.IntoAorestCoverage(eastVOS);
if (NUM>0)
{
return AjaxResult.success();
try {
eastVOS.setCreateTime(LocalDateTime.now());
int NUM = service.IntoAorestCoverage(eastVOS);
if (NUM>0)
{
return AjaxResult.success();
}
return AjaxResult.error();
}
return AjaxResult.error();
catch (Exception E){
E.getMessage();
return AjaxResult.error();
}
}
}

View File

@ -5,6 +5,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@ -12,12 +13,11 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;
import java.util.List;
/**
* 澳大利亚中东部地区
* @Author: JinSheng Song
* @Date: 2022/5/11 9:08
*/
@RestController
@RequestMapping(value = "/business-service/api/Australia", produces = "application/json;charset=UTF-8")
@ -28,9 +28,9 @@ public class AustraliaMiddleEastController
/**
* 查询方法
* @param response
* @param request
* @return
* @param response 请求头
* @param request 客户端请求
* @return 实体类
*/
@RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST})
public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request)
@ -41,8 +41,8 @@ public class AustraliaMiddleEastController
/**
* 删除方法
* @param ID
* @return
* @param ID 单据id
* @return 状态码
*/
@RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST})
public AjaxResult DelAustralia(@Param("ID") String ID)
@ -58,12 +58,13 @@ public class AustraliaMiddleEastController
/**
* 新增方法
* @param eastVOS
* @return
* @param eastVOS 新增实体类
* @return 状态码
*/
@RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST})
public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS)
public AjaxResult IntoAustralia(@RequestBody AustraliaMiddleEastVO eastVOS)
{
eastVOS.setCreateTime(LocalDateTime.now());
int NUM = australiaMiddleEastService.IntoAustralia(eastVOS);
if (NUM>0)
{

View File

@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import com.ruoyi.system.service_yada.IGlobalTypeService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@ -14,12 +15,11 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;
import java.util.List;
/**
*全球各类型占比
* @Author: JinSheng Song
* @Date: 2022/5/11 9:05
*/
@RestController
@RequestMapping("/monitor/clobal")
@ -29,9 +29,9 @@ public class GlobalTypeController {
/**
* 查询方法
* @param response
* @param request
* @return
* @param response 响应头
* @param request 客户端请求
* @return 参数类
*/
@RequestMapping(value = "/selectGlobalType",method = {RequestMethod.POST})
public AjaxResult selectGlobalType(HttpServletResponse response, HttpServletRequest request)
@ -42,8 +42,8 @@ public class GlobalTypeController {
/**
* 删除方法
* @param ID
* @return
* @param ID 单据id
* @return 状态码
*/
@RequestMapping(value = "/DelGlobalType",method = {RequestMethod.POST})
public AjaxResult DelGlobalType(@Param("ID") String ID)
@ -59,12 +59,13 @@ public class GlobalTypeController {
/**
* 新增方法
* @param eastVOS
* @return
* @param eastVOS 新增实体类
* @return 状态码
*/
@RequestMapping(value = "/IntoGlobalType",method = {RequestMethod.POST})
public AjaxResult IntoGlobalType(GlobalTypeVO eastVOS)
public AjaxResult IntoGlobalType(@RequestBody GlobalTypeVO eastVOS)
{
eastVOS.setCreateTime(LocalDateTime.now());
int NUM = typeService.IntoGlobalType(eastVOS);
if (NUM>0)
{

View File

@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import com.ruoyi.system.service_yada.IOceanTemperatureService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@ -14,12 +15,11 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;
import java.util.List;
/**
* 海洋表面温度监测
* @Author: JinSheng Song
* @Date: 2022/5/11 9:13
*/
@RestController
@RequestMapping(value = "/business-service/api/Ocean", produces = "application/json;charset=UTF-8")
@ -29,9 +29,9 @@ public class OceanTemperatureController {
/**
* 查询方法
* @param response
* @param request
* @return
* @param response 响应头
* @param request 客户端请求
* @return 参数类
*/
@RequestMapping(value = "/selectOcean",method = {RequestMethod.POST})
public AjaxResult selectOcean(HttpServletResponse response, HttpServletRequest request)
@ -42,8 +42,8 @@ public class OceanTemperatureController {
/**
* 删除方法
* @param ID
* @return
* @param ID 单据id
* @return 状态码
*/
@RequestMapping(value = "/DelOcean",method = {RequestMethod.POST})
public AjaxResult DelOcean(@Param("ID") String ID)
@ -59,12 +59,13 @@ public class OceanTemperatureController {
/**
* 新增方法
* @param eastVOS
* @return
* @param eastVOS 新增实体类
* @return 状态码
*/
@RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST})
public AjaxResult IntoOcean(OceanTemperatureVO eastVOS)
public AjaxResult IntoOcean(@RequestBody OceanTemperatureVO eastVOS)
{
eastVOS.setCreateTime(LocalDateTime.now());
int NUM = temperatureService.IntoOcean(eastVOS);
if (NUM>0)
{

View File

@ -5,6 +5,7 @@ import com.ruoyi.system.service_yada.IRegionVGIService;
import com.ruoyi.system.domain_yada.RegionVGIVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@ -13,12 +14,11 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;
import java.util.List;
/**
* 各区域VGI
* @Author: JinSheng Song
* @Date: 2022/5/11 9:08
*/
@RestController
@RequestMapping(value = "/business-service/api/orderMng", produces = "application/json;charset=UTF-8")
@ -28,9 +28,9 @@ public class RegionVGIController
private IRegionVGIService regionVGIService;
/**
* 查询方法
* @param response
* @param request
* @return
* @param response 响应头
* @param request 客户端请求
* @return 参数类
*/
@RequestMapping(value = "/SelectRegion",method = {RequestMethod.POST})
public AjaxResult SelectRegion(HttpServletResponse response, HttpServletRequest request)
@ -41,8 +41,8 @@ public class RegionVGIController
/**
* 删除方法
* @param ID
* @return
* @param ID 单据id
* @return 状态码
*/
@RequestMapping(value = "/DelRegion",method = {RequestMethod.POST})
public AjaxResult DelRegion(@Param("ID") String ID)
@ -58,12 +58,13 @@ public class RegionVGIController
/**
* 新增方法
* @param vgivo
* @return
* @param vgivo 新增实体类
* @return 状态码
*/
@RequestMapping(value = "/IntoRegion",method = {RequestMethod.POST})
public AjaxResult IntoRegion(RegionVGIVO vgivo)
public AjaxResult IntoRegion(@RequestBody RegionVGIVO vgivo)
{
vgivo.setCreatedTime(LocalDateTime.now());
int NUM = regionVGIService.IntoRegion(vgivo);
if (NUM>0)
{

View File

@ -8,6 +8,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import com.ruoyi.system.service_yada.IRegionalSystemService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@ -15,12 +16,11 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;
import java.util.List;
/**
* 区域生态系统
* @Author: JinSheng Song
* @Date: 2022/5/11 9:12
*/
@RestController
@RequestMapping(value = "/business-service/api/Regional", produces = "application/json;charset=UTF-8")
@ -30,9 +30,9 @@ public class RegionalSystemController {
/**
* 查询方法
* @param response
* @param request
* @return
* @param response 响应头
* @param request 客户端请求
* @return 参数类
*/
@RequestMapping(value = "/selectRegional",method = {RequestMethod.POST})
public AjaxResult selectRegional(HttpServletResponse response, HttpServletRequest request)
@ -43,8 +43,8 @@ public class RegionalSystemController {
/**
* 删除方法
* @param ID
* @return
* @param ID 单据id
* @return 状态码
*/
@RequestMapping(value = "/DelRegional",method = {RequestMethod.POST})
public AjaxResult DelRegional(@Param("ID") String ID)
@ -60,12 +60,13 @@ public class RegionalSystemController {
/**
* 新增方法
* @param eastVOS
* @return
* @param eastVOS 新增实体类
* @return 状态码
*/
@RequestMapping(value = "/IntoRegional",method = {RequestMethod.POST})
public AjaxResult IntoRegional(RegionalSystemVO eastVOS)
public AjaxResult IntoRegional(@RequestBody RegionalSystemVO eastVOS)
{
eastVOS.setCreateTime(LocalDateTime.now());
int NUM = systemService.IntoRegional(eastVOS);
if (NUM>0)
{

View File

@ -2,8 +2,6 @@ package com.ruoyi.web.controller.yada;
/**
* 专题报告
* @Author: JinSheng Song
* @Date: 2022/5/11 11:10
*/
public class SpecialReportController {
}

View File

@ -4,6 +4,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain_yada.ThematicMapDomain;
import com.ruoyi.system.service_yada.ThematicMapService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@ -11,12 +12,11 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;
import java.util.List;
/**
* 中国城市监测
* @Author: JinSheng Song
* @Date: 2022/5/11 10:55
*/
@RestController
@RequestMapping(value = "/thematic-map")
@ -27,9 +27,9 @@ public class ThematicMapController {
/**
* 查询方法
* @param response
* @param request
* @return
* @param response 响应头
* @param request 客户端请求
* @return 参数类
*/
@RequestMapping(value = "/get/all",method = {RequestMethod.GET})
public AjaxResult selectAllThematicMap(HttpServletResponse response, HttpServletRequest request)
@ -40,8 +40,8 @@ public class ThematicMapController {
/**
* 删除方法
* @param id
* @return
* @param id 单据id
* @return 状态码
*/
@RequestMapping(value = "/delete",method = {RequestMethod.DELETE})
public AjaxResult deleteThematicMap(@Param("id") Long id)
@ -55,12 +55,13 @@ public class ThematicMapController {
/**
* 新增方法
* @param thematicMapDomain
* @return
* @param thematicMapDomain 新增实体类
* @return 状态码
*/
@RequestMapping(value = "/add",method = {RequestMethod.POST})
public AjaxResult saveThematicMap(ThematicMapDomain thematicMapDomain)
public AjaxResult saveThematicMap(@RequestBody ThematicMapDomain thematicMapDomain)
{
thematicMapDomain.setCreatedTime(LocalDateTime.now());
int num = thematicMapService.save(thematicMapDomain);
if (num>0) {
return AjaxResult.success();

View File

@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import com.ruoyi.system.service_yada.IUrbanService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@ -14,12 +15,11 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;
import java.util.List;
/**
* 中国城市监测
* @Author: JinSheng Song
* @Date: 2022/5/11 10:55
*/
@RestController
@RequestMapping(value = "/business-service/api/Urban", produces = "application/json;charset=UTF-8")
@ -29,9 +29,9 @@ public class UrbanController {
/**
* 查询方法
* @param response
* @param request
* @return
* @param response 响应头
* @param request 客户端请求
* @return 参数类
*/
@RequestMapping(value = "/selectUrban",method = {RequestMethod.POST})
public AjaxResult selectUrban(HttpServletResponse response, HttpServletRequest request)
@ -42,8 +42,8 @@ public class UrbanController {
/**
* 删除方法
* @param ID
* @return
* @param ID 单据id
* @return 状态码
*/
@RequestMapping(value = "/DelUrban",method = {RequestMethod.POST})
public AjaxResult DelUrban(@Param("ID") String ID)
@ -59,12 +59,13 @@ public class UrbanController {
/**
* 新增方法
* @param eastVOS
* @return
* @param eastVOS 新增实体类
* @return 状态码
*/
@RequestMapping(value = "/IntoUrban",method = {RequestMethod.POST})
public AjaxResult IntoUrban(UrbanVO eastVOS)
public AjaxResult IntoUrban(@RequestBody UrbanVO eastVOS)
{
eastVOS.setCreateTime(LocalDateTime.now());
int NUM = urbanService.IntoUrban(eastVOS);
if (NUM>0)
{

View File

@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import com.ruoyi.system.service_yada.IVegetationCoverageService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@ -14,12 +15,11 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;
import java.util.List;
/**
* 平均植被覆盖度和净初级生产力
* @Author: JinSheng Song
* @Date: 2022/5/11 10:56
*/
@RestController
@RequestMapping(value = "/business-service/api/Vegetation", produces = "application/json;charset=UTF-8")
@ -29,9 +29,9 @@ public class VegetationCoverageController {
/**
* 查询方法
* @param response
* @param request
* @return
* @param response 响应头
* @param request 客户端请求
* @return 参数类
*/
@RequestMapping(value = "/selectVegetation",method = {RequestMethod.POST})
public AjaxResult selectVegetation(HttpServletResponse response, HttpServletRequest request)
@ -42,8 +42,8 @@ public class VegetationCoverageController {
/**
* 删除方法
* @param ID
* @return
* @param ID 单据id
* @return 状态码
*/
@RequestMapping(value = "/DelVegetation",method = {RequestMethod.POST})
public AjaxResult DelVegetation(@Param("ID") String ID)
@ -59,12 +59,13 @@ public class VegetationCoverageController {
/**
* 新增方法
* @param eastVOS
* @return
* @param eastVOS 新增实体类
* @return 状态码
*/
@RequestMapping(value = "/IntoVegetation",method = {RequestMethod.POST})
public AjaxResult IntoVegetation(VegetationCoverageVO eastVOS)
public AjaxResult IntoVegetation(@RequestBody VegetationCoverageVO eastVOS)
{
eastVOS.setCreateTime(LocalDateTime.now());
int NUM = coverageService.IntoVegetation(eastVOS);
if (NUM>0)
{

View File

@ -20,10 +20,6 @@ public class AustraliaMiddleEastVO extends SysBaseEntity
private Double vaiAnomolies;
private String createdBy;
private LocalDate createdTime;
public String getId() {
return id;
}
@ -72,19 +68,4 @@ public class AustraliaMiddleEastVO extends SysBaseEntity
this.vaiAnomolies = vaiAnomolies;
}
public String getCreatedBy() {
return createdBy;
}
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
public LocalDate getCreatedTime() {
return createdTime;
}
public void setCreatedTime(LocalDate createdTime) {
this.createdTime = createdTime;
}
}

View File

@ -2,6 +2,7 @@ package com.ruoyi.system.domain_yada;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
* @Author: JinSheng Song
@ -26,7 +27,7 @@ public class RegionVGIVO implements Serializable {
private String createdBy;
private LocalDate createdTime;
private LocalDateTime createdTime;
public String getId() {
return id;
@ -100,11 +101,11 @@ public class RegionVGIVO implements Serializable {
this.createdBy = createdBy;
}
public LocalDate getCreatedTime() {
public LocalDateTime getCreatedTime() {
return createdTime;
}
public void setCreatedTime(LocalDate createdTime) {
public void setCreatedTime(LocalDateTime createdTime) {
this.createdTime = createdTime;
}

View File

@ -34,6 +34,6 @@ public class AorestCoverageServiceimpl implements IAorestCoverageService {
@Override
public Integer IntoAorestCoverage(AorestCoverageVO eastVO) {
return IntoAorestCoverage(eastVO);
return coverageMapper.IntoAorestCoverage(eastVO);
}
}

View File

@ -44,19 +44,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
non_protected_lands ,
mountain,
non_mountain,
created_by ,
created_time
created_by,
created_time
) VALUES (
#{id,jdbcType=VARCHAR},
#{particularYear,jdbcType=VARCHAR},
#{region,jdbcType=VARCHAR},
#{regionEn,jdbcType=VARCHAR},
#{protectedLands,jdbcType=DOUBLE},
#{nonProtectedLand,jdbcType=DOUBLE},
#{nonProtectedLands,jdbcType=DOUBLE},
#{mountain,jdbcType=DOUBLE},
#{nonMountain,jdbcType=DOUBLE},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=DATE}
#{createTime,jdbcType=TIMESTAMP}
)
]]>
</insert>

View File

@ -5,20 +5,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<mapper namespace="com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper">
<resultMap id="RM_AustraliaMiddleEast" type="com.ruoyi.system.domain_yada.AustraliaMiddleEastVO">
<result property="yearMonth" column="year_month"/>
<result property="yearMonth" column="particular_month"/>
<result property="id" column="ID"/>
<result property="sstAnomalyIndex" column="sst_anomaly_index"/>
<result property="temperatureAnomolies" column="temperature_anomolies"/>
<result property="precipitationAnomolies" column="precipitation_anomolies"/>
<result property="vaiAnomolies" column="vai_anomolies"/>
<result property="createdBy" column="created_by"/>
<result property="createdTime" column="created_time"/>
<result property="createBy" column="created_by"/>
<result property="createTime" column="created_time"/>
</resultMap>
<sql id="columns">
<![CDATA[
ID,year_month,sst_anomaly_index,temperature_anomolies,precipitation_anomolies,vai_anomolies,created_by,created_time
ID,particular_month,sst_anomaly_index,temperature_anomolies,precipitation_anomolies,vai_anomolies,created_by,created_time
]]>
</sql>
@ -35,7 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<![CDATA[
INSERT INTO central_and_eastern_australia (
ID ,
year_month ,
particular_month ,
sst_anomaly_index ,
temperature_anomolies ,
precipitation_anomolies ,
@ -44,13 +44,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
created_time
) VALUES (
#{id,jdbcType=VARCHAR},
#{yearMonth,jdbcType=DATE},
#{yearMonth,jdbcType=TIMESTAMP},
#{sstAnomalyIndex,jdbcType=DOUBLE},
#{temperatureAnomolies,jdbcType=DOUBLE},
#{precipitationAnomolies,jdbcType=DOUBLE},
#{vaiAnomolies,jdbcType=DOUBLE},
#{createdBy,jdbcType=VARCHAR},
#{createdTime,jdbcType=DATE}
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}
)
]]>
</insert>