|
|
@@ -43,7 +43,7 @@
|
|
|
from mst.t_m_goods_specs tmgs
|
|
|
where tmgs.flg_valid
|
|
|
and tmgs.parent_id = 0
|
|
|
- and tmgs.cp_id = 1
|
|
|
+ and tmgs.cp_id = #{cpId}
|
|
|
order by tmgs.display_no, tmgs.specs_id
|
|
|
</select>
|
|
|
|
|
|
@@ -87,7 +87,7 @@
|
|
|
left join dkic_b.t_mst_org tmot on tmot.org_id = tmo.top_id
|
|
|
left join dkic_a.t_a_company tac on tac.cp_id = tmo.cp_id
|
|
|
where
|
|
|
- tmo.cp_id = 1
|
|
|
+ tmo.cp_id = #{cpId}
|
|
|
<!--todo..把1要替换 #{cpId}-->
|
|
|
and tmo.flg_valid
|
|
|
<if test="searchText !=null and searchText !=''">
|
|
|
@@ -117,8 +117,7 @@
|
|
|
tmr.cp_id as "cpId"
|
|
|
from dkic_b.t_mst_role tmr
|
|
|
where
|
|
|
- tmr.cp_id = 1
|
|
|
- <!--todo..把1要替换 #{cpId}-->
|
|
|
+ tmr.cp_id = #{cpId}
|
|
|
and tmr.flg_valid
|
|
|
<if test="searchText !=null and searchText !=''">
|
|
|
AND tmr.role_name LIKE concat('%', #{searchText}, '%')
|