生成合同
This commit is contained in:
parent
7823a412b9
commit
ee574c2ec1
@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
from
|
from
|
||||||
ps_custom_info custom
|
ps_custom_info custom
|
||||||
left join
|
left join
|
||||||
(select * from ps_contract_info info where info.create_time in (select max(pci.create_time) create_time from ps_contract_info pci where coninfo.contract_status != '10' and coninfo.is_cancel != '03' group by pci.custom_id))
|
(select * from ps_contract_info info where info.create_time in (select max(pci.create_time) create_time from ps_contract_info pci where pci.contract_status != '10' and pci.is_cancel != '03' group by pci.custom_id))
|
||||||
con on con.custom_id = custom.id
|
con on con.custom_id = custom.id
|
||||||
left join
|
left join
|
||||||
ps_company_info com on com.id = con.company_id
|
ps_company_info com on com.id = con.company_id
|
||||||
|
Loading…
Reference in New Issue
Block a user