|
|
@@ -7,7 +7,7 @@
|
|
|
t.cp_id
|
|
|
, t.cp_code, t.cp_name, t.svc_code, t.opening_date, t.grade_code, t.end_date, t.max_staff_num, t.cur_staff_num, t.flg_valid,
|
|
|
t.remarks, t.op_create_time, t.op_create_user_id, t.op_update_time, t.op_update_user_id, t.op_app_code, t.op_timestamp, t.op_db_user,
|
|
|
- t.owner,t.cp_manager,t.cp_phone,t.cp_size,t.shop_size,t.feedback,t.cp_status
|
|
|
+ t.owner,t.cp_manager,t.cp_phone,t.cp_size,t.shop_size,t.feedback,t.cp_status,t.license
|
|
|
</sql>
|
|
|
|
|
|
<resultMap type="com.dk.oauth.entity.CompanyResponse" id="ResultMap">
|
|
|
@@ -157,6 +157,7 @@
|
|
|
<include refid="Base_Column_List"/>
|
|
|
FROM dkic_a.t_a_company t
|
|
|
where t.cp_id = any( (select joined_cps from dkic_a.t_wx_user where user_wxid = #{openid})::Integer[] )
|
|
|
+ AND t.flg_valid
|
|
|
</select>
|
|
|
|
|
|
<insert id="insert" useGeneratedKeys="true" keyProperty="cpId" keyColumn="cp_id">
|