提交 b4f2559d 作者: zhangqiliang

t_supplier_contract统一使用小写

父级 5f3222e6
......@@ -310,7 +310,7 @@ useGeneratedKeys="true" keyProperty="id">
(
select t.*,s.name as supplierName,
ord.id as orderId
from T_SUPPLIER_CONTRACT t
from t_supplier_contract t
left join t_supplier s on s.id=t.supplier_id
left JOIN t_order ord ON t.supplier_id = ord.install_supplier_id
<where>
......
......@@ -354,7 +354,7 @@
a.account as accountName from t_supplier t
left join wb_account a on a.id=t.account_id
<if test="hasContract != null"><!-- 是否签了合同 -->
left join T_SUPPLIER_CONTRACT sc on sc.supplier_id=t.id
left join t_supplier_contract sc on sc.supplier_id=t.id
<if test="hasContract == 1">
and sc.status=2
</if>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论