代码提交
This commit is contained in:
parent
5b32b4c07d
commit
69a2e0a9f5
|
|
@ -67,7 +67,7 @@
|
|||
</select>
|
||||
|
||||
<select id="selectProjectById" parameterType="Long" resultMap="ProjectResult">
|
||||
select tp.id, tp.pro_name, tp.pro_type, oo.unit_name,tp.user_name, tp.pro_location, tp.remark,tp.lon,tp.lat
|
||||
select tp.id, tp.pro_name, tp.pro_type,oo.id as unit_id, oo.unit_name,tp.user_name, tp.pro_location, tp.remark,tp.lon,tp.lat
|
||||
from tb_project tp
|
||||
LEFT JOIN tb_pro_type sdd ON sdd.id = tp.pro_type
|
||||
LEFT JOIN tb_owner oo on oo.id = tp.unit_id
|
||||
|
|
|
|||
Loading…
Reference in New Issue