no message

This commit is contained in:
2023-03-15 09:08:14 +08:00
parent 32cca20d3a
commit 2da5ba5137
7 changed files with 72 additions and 34 deletions

View File

@ -70,12 +70,14 @@ public interface DateUploadMapper {
@Param("name") String name,
@Param("dateTime") String dateTime);
List<String> queryZone();
DateUpload selectShpfile(@Param("zone") String zone,
@Param("type") String type,
@Param("dateTime") String dateTime,
@Param("year") String year);
DateUpload selectShp(@Param("zone") String zone,
List<DateUpload> selectShp(@Param("zone") String zone,
@Param("type") String type,
@Param("dateTime") String dateTime);

View File

@ -14,6 +14,8 @@ import java.util.StringTokenizer;
*/
public interface IDateUploadService {
List<String> queryZone();
List<DateUpload> selectUpload( String zone,
String type,
String type1,

View File

@ -19,6 +19,11 @@ public class DateUploadServiceImpl implements IDateUploadService {
@Resource
private DateUploadMapper mapper;
@Override
public List<String> queryZone() {
return mapper.queryZone();
}
@Override
public List<DateUpload> selectUpload(String zone,String type,String type1,String type2,String year, String dateWithSway,String name,String dateTime) {
return mapper.selectUpload(zone,type,type1,type2,year,dateWithSway,name,dateTime);
@ -41,7 +46,7 @@ public class DateUploadServiceImpl implements IDateUploadService {
@Override
public DateUpload selectShp(String zone, String type, String dateTime) {
return mapper.selectShp(zone,type,dateTime);
return mapper.selectShp(zone,type,dateTime).get(0);
}
@Override

View File

@ -61,6 +61,9 @@
<!-- </if>-->
</select>
<select id="queryZone" resultType="string">
SELECT DISTINCT Zone FROM data_upload
</select>
<select id="selectUpload" resultMap="RM_Upload">
SELECT <include refid="columns"/> FROM data_upload