类型改为Integer
This commit is contained in:
@@ -71,7 +71,7 @@ public class HyPartnerIntentInfoDAO {
|
||||
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){
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -73,5 +73,5 @@ public interface HyPartnerIntentInfoMapper {
|
||||
* @param acquaintanceRelationshipType
|
||||
* @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);
|
||||
}
|
||||
@@ -27,7 +27,7 @@
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="acquaintance_flag" jdbcType="TINYINT" property="acquaintanceFlag" />
|
||||
<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" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
|
||||
@@ -103,7 +103,7 @@ public class HyPartnerIntentInfoDO implements Serializable {
|
||||
|
||||
private String acquaintanceName;
|
||||
|
||||
private String acquaintanceRelationshipType;
|
||||
private Integer acquaintanceRelationshipType;
|
||||
|
||||
private String otherRelationshipType;
|
||||
}
|
||||
@@ -85,7 +85,7 @@ public class PartnerIntentInfoRequest {
|
||||
|
||||
private String acquaintanceName;
|
||||
|
||||
private String acquaintanceRelationshipType;
|
||||
private Integer acquaintanceRelationshipType;
|
||||
|
||||
private String otherRelationshipType;
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ public class PartnerIntentInfoVO {
|
||||
|
||||
private String acquaintanceName;
|
||||
|
||||
private String acquaintanceRelationshipType;
|
||||
private Integer acquaintanceRelationshipType;
|
||||
|
||||
private String otherRelationshipType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user