类型改为Integer
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
@@ -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">
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user