1.删除公司信息里总部信息字段

2.客户状态移除未验证状态值及相关字段校验
master
MrZhai 3 years ago
parent 5c92c1e6a7
commit e657e99094

@ -78,9 +78,6 @@ public class LoginController {
if (authAdmin.getUserFlag() == 0) {
throw new JsonException(ResultEnum.DATA_NOT, "该用户已被禁用!");
}
if (authAdmin.getUserFlag() == 2) {
throw new JsonException(ResultEnum.DATA_NOT, "该用户未验证!");
}
CustomerInfoEntity customerInfoEntity = customerInfoService.selectById(authAdmin.getCustomerId());
if (customerInfoEntity.getUserFlag() == 0) {
throw new JsonException(ResultEnum.DATA_NOT, "该企业账户已被禁用!");
@ -89,9 +86,6 @@ public class LoginController {
if (authAdmin.getUserFlag() == 0) {
throw new JsonException(ResultEnum.DATA_NOT, "该用户已被禁用!");
}
if (authAdmin.getUserFlag() == 2) {
throw new JsonException(ResultEnum.DATA_NOT, "该用户未验证!");
}
}
}
if (authAdmin == null) {

@ -28,7 +28,6 @@ public class CompanyEntity {
private int networkType;
private int certIdFk;
private String parentCompany;
private String parentIdFk;
private String contactsPapersType;

@ -156,9 +156,6 @@
<if test="areaCode != null">
areaCode=#{areaCode},
</if>
<if test="parentCompany != null">
parentCompany=#{parentCompany},
</if>
<if test="parentIdFk != null">
parentIdFk=#{parentIdFk},
</if>
@ -223,7 +220,7 @@
<insert id="insertCompany" parameterType="com.glxp.udi.admin.entity.info.CompanyEntity">
INSERT INTO company(companyName, bussinessStatus, creditNum, classes, area,
detailAddr, appId, appSecret, contacts, mobile, tel, email, customerId, areaCode,
refEntId, entId, networkType, certIdFk, parentCompany, parentIdFk,
refEntId, entId, networkType, certIdFk, parentIdFk,
contactsPapersType, contactsPapersCode, registerStatus, jyxkzh, jyxkzfzjg, jyxkzyxq,
jybapzh, jybabm, fzrq, suihao, kaihuhang, kaihuzhanghao, auditStatus,
filePath, filePath2, filePath3, filePath4, unitIdFk)
@ -245,7 +242,6 @@
#{entId},
#{networkType},
#{certIdFk},
#{parentCompany},
#{parentIdFk},
#{contactsPapersType},
#{contactsPapersCode},

Loading…
Cancel
Save