提交 e8706efb 作者: 刘明祎-运维用途

加盟接口

上级 01bbbf85
...@@ -49,6 +49,7 @@ public class ApplyTagEditVO implements Serializable { ...@@ -49,6 +49,7 @@ public class ApplyTagEditVO implements Serializable {
private String brandLogo; private String brandLogo;
@ApiModelProperty(value = "营业执照") @ApiModelProperty(value = "营业执照")
private String licenseImg; private String licenseImg;
@ApiModelProperty(value = "合同编号contractNo")
private String contractNo;
} }
...@@ -94,4 +94,6 @@ public class UserApplyTagVO implements Serializable { ...@@ -94,4 +94,6 @@ public class UserApplyTagVO implements Serializable {
private Double lon; private Double lon;
@ApiModelProperty(value = "签署状态: 0、等待平台签署1、平台签署失败 2、等待(买家/供应商)签署(平台签署成功) 3、(买家/供应商)签署失败 4、(买家/供应商)签署成功、5、归档")
private Integer signStatus;
} }
package com.mmc.iuav.user.entity; package com.mmc.iuav.user.entity;
import com.mmc.iuav.user.entity.fdd.ContractInfoDO;
import com.mmc.iuav.user.model.vo.ApplyTagEditVO; import com.mmc.iuav.user.model.vo.ApplyTagEditVO;
import com.mmc.iuav.user.model.vo.AttachmentVO; import com.mmc.iuav.user.model.vo.AttachmentVO;
import com.mmc.iuav.user.model.vo.UserApplyTagVO; import com.mmc.iuav.user.model.vo.UserApplyTagVO;
...@@ -18,7 +19,7 @@ import java.util.List; ...@@ -18,7 +19,7 @@ import java.util.List;
@Data @Data
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
public class UserApplyTagDO implements Serializable { public class UserApplyTagDO implements Serializable {
private static final long serialVersionUID = -7581203992821286124L; private static final long serialVersionUID = -7581203992821286124L;
private Integer id; private Integer id;
private Integer cooperationTagId; private Integer cooperationTagId;
...@@ -29,7 +30,8 @@ public class UserApplyTagDO implements Serializable { ...@@ -29,7 +30,8 @@ public class UserApplyTagDO implements Serializable {
private Date createTime; private Date createTime;
private Integer applyStatus; private Integer applyStatus;
private String orderNo; private String orderNo;
private Integer signStatus;
private String contractNo;
/** /**
* 辅助字段start * 辅助字段start
*/ */
...@@ -55,6 +57,7 @@ public class UserApplyTagDO implements Serializable { ...@@ -55,6 +57,7 @@ public class UserApplyTagDO implements Serializable {
.orderNo(orderNo) .orderNo(orderNo)
.approvalStatus(applyStatus) .approvalStatus(applyStatus)
.cooperationTagName(tagName) .cooperationTagName(tagName)
.signStatus(signStatus)
.attachmentList(this.attachmentList) .attachmentList(this.attachmentList)
.content(this.companyInfoDO == null ? null : this.companyInfoDO.getContent()) .content(this.companyInfoDO == null ? null : this.companyInfoDO.getContent())
.score(this.companyInfoDO == null ? null : this.companyInfoDO.getScore()) .score(this.companyInfoDO == null ? null : this.companyInfoDO.getScore())
...@@ -94,6 +97,7 @@ public class UserApplyTagDO implements Serializable { ...@@ -94,6 +97,7 @@ public class UserApplyTagDO implements Serializable {
.address(this.companyInfoDO == null ? null : this.companyInfoDO.getAddress()) .address(this.companyInfoDO == null ? null : this.companyInfoDO.getAddress())
.lat(this.companyInfoDO == null ? null : this.companyInfoDO.getLat()) .lat(this.companyInfoDO == null ? null : this.companyInfoDO.getLat())
.lon(this.companyInfoDO == null ? null : this.companyInfoDO.getLon()) .lon(this.companyInfoDO == null ? null : this.companyInfoDO.getLon())
.contractNo(contractNo)
.remark(this.remark) .remark(this.remark)
.build(); .build();
} }
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
<result property="createTime" column="create_time"/> <result property="createTime" column="create_time"/>
<result property="tagName" column="tag_name"/> <result property="tagName" column="tag_name"/>
<result property="orderNo" column="order_no"/> <result property="orderNo" column="order_no"/>
<result property="signStatus" column="sign_status"/>
<result property="contractNo" column="contract_no"/>
<association property="companyInfoDO" javaType="com.mmc.iuav.user.entity.CompanyInfoDO"> <association property="companyInfoDO" javaType="com.mmc.iuav.user.entity.CompanyInfoDO">
<id property="id" column="company_info_id"/> <id property="id" column="company_info_id"/>
...@@ -164,11 +166,13 @@ ...@@ -164,11 +166,13 @@
ci.lat, ci.lat,
ci.lon, ci.lon,
ci.content, ci.content,
ci.score ci.score,
cti.contract_no
FROM user_apply_tag ua FROM user_apply_tag ua
INNER JOIN cooperation_tag ct ON ua.cooperation_tag_id = ct.id INNER JOIN cooperation_tag ct ON ua.cooperation_tag_id = ct.id
INNER JOIN company_member cm ON cm.user_account_id = ua.user_account_id INNER JOIN company_member cm ON cm.user_account_id = ua.user_account_id
INNER JOIN company_info ci ON cm.company_info_id = ci.id INNER JOIN company_info ci ON cm.company_info_id = ci.id
left join contract_info cti on ua.order_no = cti.order_no
WHERE ua.id = #{id} WHERE ua.id = #{id}
AND ua.is_deleted = 0 AND ua.is_deleted = 0
</select> </select>
...@@ -268,12 +272,14 @@ ...@@ -268,12 +272,14 @@
ci.lat, ci.lat,
ci.lon, ci.lon,
ci.content, ci.content,
ci.score ci.score,
cti.sign_status
FROM FROM
user_apply_tag ua user_apply_tag ua
INNER JOIN cooperation_tag ct ON ua.cooperation_tag_id = ct.id INNER JOIN cooperation_tag ct ON ua.cooperation_tag_id = ct.id
INNER JOIN company_member cm ON cm.user_account_id = ua.user_account_id INNER JOIN company_member cm ON cm.user_account_id = ua.user_account_id
INNER JOIN company_info ci ON cm.company_info_id = ci.id INNER JOIN company_info ci ON cm.company_info_id = ci.id
left join contract_info cti on ua.order_no = cti.order_no
<where> <where>
ua.is_deleted = 0 ua.is_deleted = 0
<if test="cooperationTagId != null"> <if test="cooperationTagId != null">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论