|
@@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
9
|
9
|
<result property="projectId" column="project_id" />
|
10
|
10
|
<result property="projectNumber" column="project_number" />
|
11
|
11
|
<result property="projectName" column="project_name" />
|
|
12
|
+ <result property="projectLeader" column="project_leader" />
|
12
|
13
|
<result property="achiName" column="achi_name" />
|
13
|
14
|
<result property="dataYear" column="data_year" />
|
14
|
15
|
<result property="scaleGrade" column="scale_grade" />
|
|
@@ -35,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
35
|
36
|
</sql>
|
36
|
37
|
|
37
|
38
|
<sql id="Base_Column_List" >
|
38
|
|
- a.id, a.project_id, p.project_number, p.project_name, a.achi_name, a.data_year, a.scale_grade, a.result_type, a.file_type, a.kml_url, a.kml_lng, a.kml_lat, a.work_load, a.unit, a.data_source, a.data_type, a.storage_id, s.storage_address, a.remark, a.submit_date, a.production_time, a.resolution, a.geodetic_datum
|
|
39
|
+ a.id, a.project_id, p.project_number, p.project_name, p.project_leader, a.achi_name, a.data_year, a.scale_grade, a.result_type, a.file_type, a.kml_url, a.kml_lng, a.kml_lat, a.work_load, a.unit, a.data_source, a.data_type, a.storage_id, s.storage_address, a.remark, a.submit_date, a.production_time, a.resolution, a.geodetic_datum
|
39
|
40
|
</sql>
|
40
|
41
|
|
41
|
42
|
<sql id="selectFilesAchievementAllVo">
|
|
@@ -50,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
50
|
51
|
<if test="projectId != null and projectId != ''"> and a.project_id = #{projectId}</if>
|
51
|
52
|
<if test="projectNumber != null and projectNumber != ''"> and p.project_number like concat('%', #{projectNumber}, '%')</if>
|
52
|
53
|
<if test="projectName != null and projectName != ''"> and p.project_name like concat('%', #{projectName}, '%')</if>
|
|
54
|
+ <if test="projectLeader != null and projectLeader != ''"> and p.project_leader like concat('%', #{projectLeader}, '%')</if>
|
53
|
55
|
<if test="achiName != null and achiName != ''"> and a.achi_name like concat('%', #{achiName}, '%')</if>
|
54
|
56
|
<if test="dataYear != null and dataYear != ''"> and a.data_year like concat('%', #{dataYear}, '%')</if>
|
55
|
57
|
<if test="scaleGrade != null and scaleGrade != ''"> and a.scale_grade like concat('%', #{scaleGrade}, '%')</if>
|