Commit 5eccb7f6 authored by 朱晨阳's avatar 朱晨阳

电站管理列表修改

parent 317f2fb4
...@@ -101,6 +101,6 @@ public class PowerStationDto extends BaseDto { ...@@ -101,6 +101,6 @@ public class PowerStationDto extends BaseDto {
private String realScale; private String realScale;
@ApiModelProperty(value = "省份") @ApiModelProperty(value = "省份")
private String province; private String province;
@ApiModelProperty(value = "制单日期") @ApiModelProperty(value = "经销商首次确认时间")
private String creatorTime; private String firstSubmitDate;
} }
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
SUBSTRING_INDEX(ph.project_address_name, '/', 1) AS province, SUBSTRING_INDEX(ph.project_address_name, '/', 1) AS province,
lc.stamp_status, lc.stamp_status,
lc.status, lc.status,
hsi.creator_time ps.kc_create_time AS firstSubmitDate
FROM FROM
hygf_power_station ps hygf_power_station ps
LEFT JOIN ( LEFT JOIN (
...@@ -57,7 +57,6 @@ ...@@ -57,7 +57,6 @@
ON lc.peasant_household_id = ps.peasant_household_id ON lc.peasant_household_id = ps.peasant_household_id
LEFT JOIN hygf_peasant_household ph LEFT JOIN hygf_peasant_household ph
ON ph.sequence_nbr = ps.peasant_household_id ON ph.sequence_nbr = ps.peasant_household_id
LEFT JOIN (select sequence_nbr, creator_time from hygf_survey_information ) hsi on ph.survey_information_id = hsi.sequence_nbr
WHERE WHERE
ps.is_delete = 0 ps.is_delete = 0
<if test="powerStationCode != null and powerStationCode != ''"> <if test="powerStationCode != null and powerStationCode != ''">
...@@ -88,10 +87,10 @@ ...@@ -88,10 +87,10 @@
AND lc.status = #{status} AND lc.status = #{status}
</if> </if>
<if test="startTime != null and startTime != ''"> <if test="startTime != null and startTime != ''">
AND hsi.creator_time &gt;= #{startTime} AND ps.kc_create_time &gt;= #{startTime}
</if> </if>
<if test="endTime != null and endTime != ''"> <if test="endTime != null and endTime != ''">
AND hsi.creator_time &lt;= #{endTime} AND ps.kc_create_time &lt;= #{endTime}
</if> </if>
ORDER BY ps.rec_date DESC ORDER BY ps.rec_date DESC
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment