标签:account 图片 vat alt ons use for efi from
XXXX.xml:
<!---->
<resultMap id="getUserMap" type="com.handsight.platform.fras.pojo.EntityMap.VoUser">
<result property="useraccount" column="USERACCOUNT" ></result>
<result property="devicefigure" column="DEVICEFIGURE" ></result>
<result property="platform" column="PLATFORM" ></result>
<result property="pushkey" column="PUSHKEY"></result>
</resultMap>
<select id="saveUserInfoAndRedis" resultMap="getUserMap">
select USERACCOUNT ,DEVICEFIGURE,PLATFORM,PUSHKEY
from T_user
</select>
VoUser:
@Data @NoArgsConstructor @AllArgsConstructor public class VoUser implements Serializable { private String useraccount; private String devicefigure; private String platform; private String pushkey; }
UserMapper.java:
/** * @Description : */ List<VoUser> saveUserInfoAndRedis();
结构测试:
标签:account 图片 vat alt ons use for efi from
原文地址:https://www.cnblogs.com/leeego-123/p/10620932.html