多返回点位
This commit is contained in:
parent
ae25863731
commit
ba00f9419a
@ -189,5 +189,17 @@ public class CheckingPointInfo implements Serializable {
|
|||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
@ApiModelProperty(value = "合作单位")
|
@ApiModelProperty(value = "合作单位")
|
||||||
private java.lang.String enterpriseName;
|
private java.lang.String enterpriseName;
|
||||||
|
/**
|
||||||
|
* 经度
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
@ApiModelProperty("经度")
|
||||||
|
private Double longitude;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 维度
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
@ApiModelProperty("维度")
|
||||||
|
private Double latitude;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,9 @@
|
|||||||
xcrt.item_name,
|
xcrt.item_name,
|
||||||
(SELECT group_concat(nu.enterprise_name)
|
(SELECT group_concat(nu.enterprise_name)
|
||||||
FROM enterprise_info nu
|
FROM enterprise_info nu
|
||||||
WHERE find_in_set(nu.id, cp.enterprise_id)) as enterprise_name
|
WHERE find_in_set(nu.id, cp.enterprise_id)) as enterprise_name,
|
||||||
|
cp.latitude,
|
||||||
|
cp.longitude
|
||||||
from checking_point_info t
|
from checking_point_info t
|
||||||
join checking_point cp on t.checking_point_id = cp.id
|
join checking_point cp on t.checking_point_id = cp.id
|
||||||
left join system_user su on t.checking_point_user_id = su.user_id
|
left join system_user su on t.checking_point_user_id = su.user_id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user