Merge remote-tracking branch 'origin/hph' into dev
# Conflicts: # src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopUser.java
This commit is contained in:
@@ -125,8 +125,7 @@ public class LoginContoller {
|
|||||||
// try{
|
// try{
|
||||||
// String data = WxMaCryptUtils.decrypt(sessionKey, encryptedData, ivStr);
|
// String data = WxMaCryptUtils.decrypt(sessionKey, encryptedData, ivStr);
|
||||||
// if (ObjectUtil.isNotEmpty(data) && JSONObject.parseObject(data).containsKey("phoneNumber")) {
|
// if (ObjectUtil.isNotEmpty(data) && JSONObject.parseObject(data).containsKey("phoneNumber")) {
|
||||||
// phone =JSONObject.parseObject(data).get("phoneNumber").toString();
|
// }// phone =JSONObject.parseObject(data).get("phoneNumber").toString();
|
||||||
// }
|
|
||||||
// }catch (Exception e){
|
// }catch (Exception e){
|
||||||
// log.info("登录传参:获取手机号失败{}",e.getMessage());
|
// log.info("登录传参:获取手机号失败{}",e.getMessage());
|
||||||
// }
|
// }
|
||||||
|
|||||||
@@ -117,6 +117,7 @@ public class UserContoller {
|
|||||||
shopUser.setAmount(BigDecimal.ZERO);
|
shopUser.setAmount(BigDecimal.ZERO);
|
||||||
}
|
}
|
||||||
if (tbShopInfo != null) {
|
if (tbShopInfo != null) {
|
||||||
|
shopUser.setIsUser(tbShopInfo.getIsCustom());
|
||||||
shopUser.setShopName(tbShopInfo.getShopName());
|
shopUser.setShopName(tbShopInfo.getShopName());
|
||||||
shopUser.setLng(tbShopInfo.getLng());
|
shopUser.setLng(tbShopInfo.getLng());
|
||||||
shopUser.setLat(tbShopInfo.getLat());
|
shopUser.setLat(tbShopInfo.getLat());
|
||||||
|
|||||||
@@ -111,6 +111,8 @@ public class TbShopInfo implements Serializable {
|
|||||||
private String cities;
|
private String cities;
|
||||||
private String districts;
|
private String districts;
|
||||||
|
|
||||||
|
private String isCustom;
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
package com.chaozhanggui.system.cashierservice.entity;
|
package com.chaozhanggui.system.cashierservice.entity;
|
||||||
|
|
||||||
|
import org.springframework.data.annotation.Transient;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
@@ -68,6 +70,14 @@ public class TbShopUser implements Serializable {
|
|||||||
private String lng="";
|
private String lng="";
|
||||||
private String address="";
|
private String address="";
|
||||||
|
|
||||||
|
@Transient
|
||||||
|
private String isUser;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
public String getId() {
|
public String getId() {
|
||||||
@@ -310,29 +320,4 @@ public class TbShopUser implements Serializable {
|
|||||||
public void setMiniOpenId(String miniOpenId) {
|
public void setMiniOpenId(String miniOpenId) {
|
||||||
this.miniOpenId = miniOpenId == null ? null : miniOpenId.trim();
|
this.miniOpenId = miniOpenId == null ? null : miniOpenId.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public String getLat() {
|
|
||||||
return lat;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setLat(String lat) {
|
|
||||||
this.lat = lat;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getLng() {
|
|
||||||
return lng;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setLng(String lng) {
|
|
||||||
this.lng = lng;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getAddress() {
|
|
||||||
return address;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAddress(String address) {
|
|
||||||
this.address = address;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -52,6 +52,8 @@
|
|||||||
<result column="provinces" jdbcType="VARCHAR" property="provinces"/>
|
<result column="provinces" jdbcType="VARCHAR" property="provinces"/>
|
||||||
<result column="cities" jdbcType="VARCHAR" property="cities"/>
|
<result column="cities" jdbcType="VARCHAR" property="cities"/>
|
||||||
<result column="districts" jdbcType="VARCHAR" property="districts"/>
|
<result column="districts" jdbcType="VARCHAR" property="districts"/>
|
||||||
|
|
||||||
|
<result column="is_custom" jdbcType="VARCHAR" property="isCustom" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs"
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs"
|
||||||
type="com.chaozhanggui.system.cashierservice.entity.TbShopInfo">
|
type="com.chaozhanggui.system.cashierservice.entity.TbShopInfo">
|
||||||
@@ -64,7 +66,7 @@
|
|||||||
detail, lat, lng, mch_id, register_type, is_wx_ma_independent, address, city, type,
|
detail, lat, lng, mch_id, register_type, is_wx_ma_independent, address, city, type,
|
||||||
industry, industry_name, business_start_day,business_end_day,business_time, post_time, post_amount_line, on_sale, settle_type,
|
industry, industry_name, business_start_day,business_end_day,business_time, post_time, post_amount_line, on_sale, settle_type,
|
||||||
settle_time, enter_at, expire_at, status, average, order_wait_pay_minute, support_device_number,
|
settle_time, enter_at, expire_at, status, average, order_wait_pay_minute, support_device_number,
|
||||||
distribute_level, created_at, updated_at, proxy_id, shop_qrcode, tag,is_open_yhq,is_use_vip,provinces,cities,districts
|
distribute_level, created_at, updated_at, proxy_id, shop_qrcode, tag,is_open_yhq,is_use_vip,provinces,cities,districts,is_custom
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Blob_Column_List">
|
<sql id="Blob_Column_List">
|
||||||
view
|
view
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
<result column="password" jdbcType="VARCHAR" property="password" />
|
<result column="password" jdbcType="VARCHAR" property="password" />
|
||||||
<result column="is_pwd" jdbcType="VARCHAR" property="isPwd" />
|
<result column="is_pwd" jdbcType="VARCHAR" property="isPwd" />
|
||||||
<result column="pwd" jdbcType="VARCHAR" property="pwd" />
|
<result column="pwd" jdbcType="VARCHAR" property="pwd" />
|
||||||
|
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
id, amount, charge_amount, line_of_credit, consume_amount, consume_number, total_score,
|
id, amount, charge_amount, line_of_credit, consume_amount, consume_number, total_score,
|
||||||
|
|||||||
Reference in New Issue
Block a user