Commit 4656ba5e authored by tangwei's avatar tangwei

修改户用光伏电站监控场站状态

parent af7d6601
...@@ -77,7 +77,7 @@ public class CommerceDto { ...@@ -77,7 +77,7 @@ public class CommerceDto {
public void setLegalPersonCardPhotoBackUrl(List<FileDto> legalPersonCardPhotoBackUrl) { public void setLegalPersonCardPhotoBackUrl(List<FileDto> legalPersonCardPhotoBackUrl) {
String url=null; String url=null;
if(legalPersonCardPhotoBackUrl!=null&&!legalPersonCardPhotoBackUrl.isEmpty()&&!legalPersonCardPhotoBackUrl.isEmpty()){ if(legalPersonCardPhotoBackUrl!=null&&!legalPersonCardPhotoBackUrl.isEmpty()){
url=legalPersonCardPhotoBackUrl.get(0).getUrl(); url=legalPersonCardPhotoBackUrl.get(0).getUrl();
} }
this.legalPersonCardPhotoBack=url; this.legalPersonCardPhotoBack=url;
......
...@@ -150,7 +150,7 @@ public class UnitInformation { ...@@ -150,7 +150,7 @@ public class UnitInformation {
public void setHeadCardPhotoFrontUrl(List<FileDto> headCardPhotoFrontUrl) { public void setHeadCardPhotoFrontUrl(List<FileDto> headCardPhotoFrontUrl) {
String url=null; String url=null;
if(headCardPhotoFrontUrl!=null&&!this.headCardPhotoFrontUrl.isEmpty()&&!headCardPhotoFrontUrl.isEmpty()){ if(headCardPhotoFrontUrl!=null&&!headCardPhotoFrontUrl.isEmpty()){
url=headCardPhotoFrontUrl.get(0).getUrl(); url=headCardPhotoFrontUrl.get(0).getUrl();
} }
...@@ -160,7 +160,7 @@ public class UnitInformation { ...@@ -160,7 +160,7 @@ public class UnitInformation {
public void setHeadCardPhotoBackUrl(List<FileDto> headCardPhotoBackUrl) { public void setHeadCardPhotoBackUrl(List<FileDto> headCardPhotoBackUrl) {
String url=null; String url=null;
if(headCardPhotoBackUrl!=null&&!this.headCardPhotoBackUrl.isEmpty()&&!headCardPhotoBackUrl.isEmpty()){ if(headCardPhotoBackUrl!=null&&!headCardPhotoBackUrl.isEmpty()){
url=headCardPhotoBackUrl.get(0).getUrl(); url=headCardPhotoBackUrl.get(0).getUrl();
} }
......
...@@ -146,6 +146,8 @@ ...@@ -146,6 +146,8 @@
</foreach> </foreach>
</if> </if>
and hygf_jp_station.`state` is not null and hygf_jp_station.`state` in ("在线","报警","离线") and hygf_jp_station.`state` is not null and hygf_jp_station.`state` in ("在线","报警","离线")
GROUP BY state
</where> </where>
</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