返回公司余额
parent
b50e17a36b
commit
b87b014f77
|
|
@ -7,6 +7,7 @@ import lombok.Setter;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
import lombok.experimental.Accessors;
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
|
@ -144,4 +145,6 @@ public class SearchCompanyResult {
|
||||||
private LocalDateTime createTime;
|
private LocalDateTime createTime;
|
||||||
private LocalDateTime modifyTime;
|
private LocalDateTime modifyTime;
|
||||||
|
|
||||||
|
private BigDecimal money;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -79,31 +79,35 @@
|
||||||
WHERE a.deleted = 0
|
WHERE a.deleted = 0
|
||||||
</select>
|
</select>
|
||||||
<select id="selectCompanyInfo" resultType="com.njzscloud.supervisory.biz.pojo.result.SearchCompanyResult">
|
<select id="selectCompanyInfo" resultType="com.njzscloud.supervisory.biz.pojo.result.SearchCompanyResult">
|
||||||
SELECT id,
|
SELECT
|
||||||
user_id,
|
bc.id,
|
||||||
station,
|
bc.user_id,
|
||||||
uscc,
|
bc.station,
|
||||||
company_name,
|
bc.uscc,
|
||||||
business_license,
|
bc.company_name,
|
||||||
license_start_time,
|
bc.business_license,
|
||||||
license_end_time,
|
bc.license_start_time,
|
||||||
legal_representative,
|
bc.license_end_time,
|
||||||
province,
|
bc.legal_representative,
|
||||||
city,
|
bc.province,
|
||||||
area,
|
bc.city,
|
||||||
town,
|
bc.area,
|
||||||
province_name,
|
bc.town,
|
||||||
city_name,
|
bc.province_name,
|
||||||
area_name,
|
bc.city_name,
|
||||||
town_name,
|
bc.area_name,
|
||||||
address,
|
bc.town_name,
|
||||||
lng,
|
bc.address,
|
||||||
lat,
|
bc.lng,
|
||||||
contacts,
|
bc.lat,
|
||||||
phone,
|
bc.contacts,
|
||||||
audit_status,
|
bc.phone,
|
||||||
audit_memo
|
bc.audit_status,
|
||||||
FROM biz_company
|
bc.audit_memo,
|
||||||
|
ma.money
|
||||||
|
FROM
|
||||||
|
biz_company bc
|
||||||
|
LEFT JOIN money_account ma ON bc.id = ma.station_id
|
||||||
WHERE user_id = #{userId}
|
WHERE user_id = #{userId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue