Commit ee6fe821 by 徐高华

默认商户

parent f306b77a
...@@ -282,6 +282,4 @@ public interface StaffApiService { ...@@ -282,6 +282,4 @@ public interface StaffApiService {
*/ */
boolean isFlagByStoreIdAndEnterpriseId(String storeId,String enterpriseId,String wxEnterpriseId); boolean isFlagByStoreIdAndEnterpriseId(String storeId,String enterpriseId,String wxEnterpriseId);
public void updateDefaultGicEid(String staffid , String gicEnterpriseId) ;
} }
...@@ -144,5 +144,4 @@ public interface StaffMapper { ...@@ -144,5 +144,4 @@ public interface StaffMapper {
@Param("staffId") String staffId, @Param("staffId") String staffId,
@Param("wxEnterpriseId") String wxEnterpriseId); @Param("wxEnterpriseId") String wxEnterpriseId);
void updateDefaultGicEid(@Param("staffId") String staffId, @Param("gicEid") String gicEid) ;
} }
\ No newline at end of file
...@@ -47,16 +47,7 @@ public class TabHaobanStaff implements Serializable { ...@@ -47,16 +47,7 @@ public class TabHaobanStaff implements Serializable {
private String wxOpenId; private String wxOpenId;
private String qrCode; private String qrCode;
private String defaultGicEid ;
public String getDefaultGicEid() {
return defaultGicEid;
}
public void setDefaultGicEid(String defaultGicEid) {
this.defaultGicEid = defaultGicEid;
}
public String getStaffId() { public String getStaffId() {
return staffId; return staffId;
} }
......
...@@ -117,5 +117,4 @@ public interface StaffService { ...@@ -117,5 +117,4 @@ public interface StaffService {
*/ */
void delOtherStaffByWxUserId(String wxUserId, String staffId, String wxEnterpriseId); void delOtherStaffByWxUserId(String wxUserId, String staffId, String wxEnterpriseId);
public void updateDefaultGicEid(String staffid , String gicEnterpriseId) ;
} }
...@@ -160,10 +160,4 @@ public class StaffServiceImpl implements StaffService { ...@@ -160,10 +160,4 @@ public class StaffServiceImpl implements StaffService {
public void delOtherStaffByWxUserId(String wxUserId, String staffId, String wxEnterpriseId) { public void delOtherStaffByWxUserId(String wxUserId, String staffId, String wxEnterpriseId) {
mapper.delOtherStaffByWxUserId(wxUserId, staffId, wxEnterpriseId); mapper.delOtherStaffByWxUserId(wxUserId, staffId, wxEnterpriseId);
} }
@Override
public void updateDefaultGicEid(String staffid , String gicEnterpriseId) {
this.mapper.updateDefaultGicEid(staffid, gicEnterpriseId);
}
} }
...@@ -1395,9 +1395,4 @@ public class StaffApiServiceImpl implements StaffApiService { ...@@ -1395,9 +1395,4 @@ public class StaffApiServiceImpl implements StaffApiService {
logger.info("门店筛选器查询结果:{}", JSON.toJSONString(storeIdList)); logger.info("门店筛选器查询结果:{}", JSON.toJSONString(storeIdList));
return storeIdList; return storeIdList;
} }
@Override
public void updateDefaultGicEid(String staffid, String gicEnterpriseId) {
this.staffService.updateDefaultGicEid(staffid, gicEnterpriseId);
}
} }
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
<result column="wx_open_user_id" property="wxOpenUseId" jdbcType="VARCHAR"/> <result column="wx_open_user_id" property="wxOpenUseId" jdbcType="VARCHAR"/>
<result column="wx_open_id" property="wxOpenId" jdbcType="VARCHAR"/> <result column="wx_open_id" property="wxOpenId" jdbcType="VARCHAR"/>
<result column="qr_code" property="qrCode" jdbcType="VARCHAR"/> <result column="qr_code" property="qrCode" jdbcType="VARCHAR"/>
<result column="default_gic_eid" property="defaultGicEid"/>
</resultMap> </resultMap>
...@@ -31,7 +30,7 @@ ...@@ -31,7 +30,7 @@
staff_id staff_id
, wx_user_id, phone_number, staff_name, nation_code, nick_name, sex, postion, , wx_user_id, phone_number, staff_name, nation_code, nick_name, sex, postion,
active_flag, extend_postion, status_flag, create_time, update_time,wx_enterprise_id,head_img, active_flag, extend_postion, status_flag, create_time, update_time,wx_enterprise_id,head_img,
sort,sync_postion_flag,super_manager_flag,wx_open_user_id,wx_open_id,qr_code , default_gic_eid sort,sync_postion_flag,super_manager_flag,wx_open_user_id,wx_open_id,qr_code
</sql> </sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String"> <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String">
select select
...@@ -492,7 +491,4 @@ ...@@ -492,7 +491,4 @@
and staff_id != #{staffId} and staff_id != #{staffId}
</update> </update>
<update id="updateDefaultGicEid">
update tab_haoban_staff set default_gic_eid = #{gicEid} where staff_id = #{staffId}
</update>
</mapper> </mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment