类型改为Integer

This commit is contained in:
苏竹红
2023-09-15 16:34:56 +08:00
parent c62c2a5192
commit 403534f808
6 changed files with 6 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ public class HyPartnerIntentInfoDAO {
return hyPartnerIntentInfoMapper.updateLineId(newPartnerId,newLineId, oldLineId); return hyPartnerIntentInfoMapper.updateLineId(newPartnerId,newLineId, oldLineId);
} }
public int updateAcquaintanceFlag(Long id ,Integer acquaintanceFlag,String acquaintanceName, String acquaintanceRelationshipType,String otherRelationshipType){ public int updateAcquaintanceFlag(Long id ,Integer acquaintanceFlag,String acquaintanceName, Integer acquaintanceRelationshipType,String otherRelationshipType){
if (id==null){ if (id==null){
return 0; return 0;
} }

View File

@@ -73,5 +73,5 @@ public interface HyPartnerIntentInfoMapper {
* @param acquaintanceRelationshipType * @param acquaintanceRelationshipType
* @param otherRelationshipType * @param otherRelationshipType
*/ */
int updateAcquaintanceFlag(Long id ,Integer acquaintanceFlag,String acquaintanceName, String acquaintanceRelationshipType,String otherRelationshipType); int updateAcquaintanceFlag(Long id ,Integer acquaintanceFlag,String acquaintanceName, Integer acquaintanceRelationshipType,String otherRelationshipType);
} }

View File

@@ -27,7 +27,7 @@
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="acquaintance_flag" jdbcType="TINYINT" property="acquaintanceFlag" /> <result column="acquaintance_flag" jdbcType="TINYINT" property="acquaintanceFlag" />
<result column="acquaintance_name" jdbcType="VARCHAR" property="acquaintanceName" /> <result column="acquaintance_name" jdbcType="VARCHAR" property="acquaintanceName" />
<result column="acquaintance_relationship_type" jdbcType="VARCHAR" property="acquaintanceRelationshipType" /> <result column="acquaintance_relationship_type" jdbcType="TINYINT" property="acquaintanceRelationshipType" />
<result column="other_relationship_type" jdbcType="VARCHAR" property="otherRelationshipType" /> <result column="other_relationship_type" jdbcType="VARCHAR" property="otherRelationshipType" />
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">

View File

@@ -103,7 +103,7 @@ public class HyPartnerIntentInfoDO implements Serializable {
private String acquaintanceName; private String acquaintanceName;
private String acquaintanceRelationshipType; private Integer acquaintanceRelationshipType;
private String otherRelationshipType; private String otherRelationshipType;
} }

View File

@@ -85,7 +85,7 @@ public class PartnerIntentInfoRequest {
private String acquaintanceName; private String acquaintanceName;
private String acquaintanceRelationshipType; private Integer acquaintanceRelationshipType;
private String otherRelationshipType; private String otherRelationshipType;

View File

@@ -100,7 +100,7 @@ public class PartnerIntentInfoVO {
private String acquaintanceName; private String acquaintanceName;
private String acquaintanceRelationshipType; private Integer acquaintanceRelationshipType;
private String otherRelationshipType; private String otherRelationshipType;