VUE列表初步
Posted cquccy
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了VUE列表初步相关的知识,希望对你有一定的参考价值。
页面:
============================================================
@ApiOperation(value = "softlistinfo", notes = "query software note")
@RequestMapping(value="/softlistinfo",method=RequestMethod.POST)
public String softlistinfo( @RequestBody String data) {
String retMess = "ok";
try {
Map<String,String> requestMap = JSONObject.parseObject(data, Map.class);
List<SoftColl> mylist = softInfoService.querySoftInfoList(requestMap);
retMess = JSONObject.toJSONString(mylist);
}catch(Exception ex)
{
retMess = ex.getMessage();
}
return retMess;
}
=====================
sqlmapper
<select id="selectAllList" parameterType="java.util.Map" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from software_collection
limit #{begPageNum,jdbcType=INTEGER}, #{numCount,jdbcType=INTEGER}
</select>
@Autowired
private SoftCollMapper softCollMapper;
。。。。。
public List<SoftColl> querySoftInfoList(Map<String,String> requestMap)
{
List<SoftColl> mylist = softCollMapper.selectAllList(requestMap);
return mylist;
}
=======================================================
页面效果
以上是关于VUE列表初步的主要内容,如果未能解决你的问题,请参考以下文章