Authored by jianhui_wang

用户信息查询

... ... @@ -14,8 +14,8 @@ public interface IOrdersMapper {
/**
* 查询某用户一段时间以来的已交寄订单
* @param uid
* @param createTime
* @return
*/
int selectCountShipStatusOrderSince(@Param("uid") Integer uid, @Param("createTime") Integer createTime);
int selectCountShipStatusOrderSince(@Param("uid") Integer uid);
}
\ No newline at end of file
... ...
... ... @@ -51,7 +51,6 @@
from orders
where uid = #{uid,jdbcType=INTEGER}
and order_status in(600,700)
and create_time > #{createTime,jdbcType=INTEGER}
</select>
</mapper>
\ No newline at end of file
... ...
... ... @@ -92,7 +92,7 @@ public class UserInfoImportServiceImpl implements IBusinessImportService {
UserRegisterBuyInfoBO_id.setUid(userProfile.getUid());
UserRegisterBuyInfoBO_id.setRegisterTime(DateUtils.getDateString(userProfile.getCreateTime()));
int flag = ordersMapper.selectCountShipStatusOrderSince(userProfile.getUid(), userProfile.getCreateTime());
int flag = ordersMapper.selectCountShipStatusOrderSince(userProfile.getUid());
if (flag > 0) {
UserRegisterBuyInfoBO_id.setBuy("已购买");
} else {
... ...
... ... @@ -69,7 +69,7 @@
fitColumns: true,
nowrap: false,
// url: contextPath + "/UserRegisterBuy/getUserRegisterBuyList?&register=" + getParams().register + "&buy=" + getParams().buy,
// method: 'GET',
// method: 'GET',
loadFilter: function (data) {
var temp = defaultLoadFilter(data);
temp.rows = temp.list;
... ... @@ -107,14 +107,12 @@
align: "center"
}]],
cache: false,
// pagination: true,
pagination: false,
// pageSize: 10,
// pageList: [10],
pagination: true,
pageSize: 5000,
pageList: [5000],
singleSelect: true
});
// $(".pagination-page-list").hide();
// $(".pagination-links").hide();
});
function batchProgramDialog() {
... ... @@ -174,18 +172,12 @@
align: "center"
}]],
cache: false,
// pagination: true,
pagination: false,
// pageSize: 10,
// pageList: [10],
// idField: "mobile",
pagination: true,
pageSize: 5000,
pageList: [5000],
singleSelect: true,
checkOnSelect: false,
onLoadSuccess: function () {
}
});
// $(".pagination-page-list").hide();
// $(".pagination-links").hide();
}
});
... ...
... ... @@ -13,7 +13,7 @@
1、上传文件必须是<span style="color: red">.xlsx</span>文件<br>
2、Excel表头为:<span style="color: blue">mobile、uid</span><br>
3、第一行为表头内容,第二行开始为正式内容<br>
4、每个文件控制在***行以内<br>
4、每个文件控制在5000行以内<br>
5、<a id="importA" style="margin-left: 30px" href="">下载样例.xlsx</a><br>
</td>
</tr>
... ...