| | |
| | | @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9....."), |
| | | @ApiImplicitParam(value = "查询时间yyyy-MM-dd", name = "time", required = true, dataType = "string"), |
| | | @ApiImplicitParam(value = "学员id", name = "stuId", required = true, dataType = "int"), |
| | | @ApiImplicitParam(value = "用户经度", name = "longitude", required = true, dataType = "string"), |
| | | @ApiImplicitParam(value = "用户纬度", name = "latitude", required = true, dataType = "string"), |
| | | @ApiImplicitParam(value = "用户经度", name = "longitude", required = false, dataType = "string"), |
| | | @ApiImplicitParam(value = "用户纬度", name = "latitude", required = false, dataType = "string"), |
| | | }) |
| | | public ResultUtil<List<CourseVenue>> queryWeeksOfClassInfo(String time,Integer stuId, String longitude, String latitude){ |
| | | try { |
| | |
| | | } |
| | | if (ToolUtil.isNotEmpty(cityId)){ |
| | | Region cityRegion = regiService.getById(cityId); |
| | | provinceCode = cityRegion.getCode(); |
| | | cityCode = cityRegion.getCode(); |
| | | } |
| | | Page<Map<String, Object>> page = new PageFactory<Map<String, Object>>().defaultPage(); |
| | | List<Map<String,Object>> storeList = storeService.queryListOfpage(provinceCode,cityCode,cityManagerId,storeName,page); |
| | |
| | | public class TStore { |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer id; |
| | | @TableField("name") |
| | | private String name; |
| | | @TableField("storeStaffId") |
| | | private Integer storeStaffId; |
| | |
| | | ) as aa order by aa.code |
| | | </select> |
| | | <select id="queryListOfpage" resultType="java.util.Map"> |
| | | SELECT id, cityManagerId, province, city, `name` |
| | | SELECT `id`, `cityManagerId`, `province`, `city`, `name` |
| | | from t_store |
| | | where 1=1 |
| | | <if test="provinceCode != null"> |
| | |
| | | <if test="cityManagerId != null"> |
| | | and cityManagerId = #{cityManagerId} |
| | | </if> |
| | | <if test="storeName != null and storeName != ' '"> |
| | | <if test="storeName != null and storeName != ''"> |
| | | and `name` like CONCAT('%',#{storeName},'%') |
| | | </if> |
| | | </select> |
| | |
| | | } |
| | | |
| | | .avatar-uploader .el-upload:hover { |
| | | border-color: #409EFF; |
| | | border-color: #409eff; |
| | | } |
| | | .avatar-uploader-icon { |
| | | font-size: 28px; |
| | |
| | | id: "TStoreProvinceTable", //表格id |
| | | seItem: null, //选中的条目 |
| | | table: null, |
| | | layerIndex: -1 |
| | | layerIndex: -1, |
| | | storeList: [] |
| | | }; |
| | | |
| | | /** |
| | |
| | | */ |
| | | TStoreProvince.initColumn = function () { |
| | | return [ |
| | | {field: 'selectItem', radio: true}, |
| | | {field: 'selectItem', checkbox: true}, |
| | | {title: '选择', field: '', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: 'id', field: 'id', visible: false, align: 'center', valign: 'middle'}, |
| | | {title: '所属账号', field: 'accountName', visible: true, align: 'center', valign: 'middle'}, |