parent
6ed49f6cab
commit
1e42b0ded6
|
@ -83,11 +83,20 @@ public class BusStoreInfoController extends BaseController {
|
||||||
|
|
||||||
@GetMapping("/getNowIntegral")
|
@GetMapping("/getNowIntegral")
|
||||||
public AjaxResult getNowIntegral() {
|
public AjaxResult getNowIntegral() {
|
||||||
|
String username = SecurityUtils.getLoginUser().getUsername();
|
||||||
|
if("admin".equals(username)){
|
||||||
|
return AjaxResult.success("-");
|
||||||
|
}
|
||||||
BusAgentInfo info = new BusAgentInfo();
|
BusAgentInfo info = new BusAgentInfo();
|
||||||
info.setAgentAccount(SecurityUtils.getLoginUser().getUsername());
|
info.setAgentAccount(SecurityUtils.getLoginUser().getUsername());
|
||||||
|
info.setDelStatus("1");
|
||||||
|
List<BusAgentInfo> list = agentInfoService.selectBusAgentInfoList(info);
|
||||||
|
if(list.size() == 1){
|
||||||
BusAgentInfo temp = agentInfoService.selectBusAgentInfoList(info).get(0);
|
BusAgentInfo temp = agentInfoService.selectBusAgentInfoList(info).get(0);
|
||||||
return AjaxResult.success(temp.getAiDurationBalance());
|
return AjaxResult.success(temp.getAiDurationBalance());
|
||||||
}
|
}
|
||||||
|
throw new ServiceException("查询代理人积分异常!");
|
||||||
|
}
|
||||||
|
|
||||||
@ApiOperation("查询店铺信息列表")
|
@ApiOperation("查询店铺信息列表")
|
||||||
// @PreAuthorize("@ss.hasPermi('business:store:list')")
|
// @PreAuthorize("@ss.hasPermi('business:store:list')")
|
||||||
|
|
|
@ -133,9 +133,9 @@
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in deptList"
|
v-for="dict in deptList"
|
||||||
:key="dict.id"
|
:key="dict.deptId"
|
||||||
:label="dict.deptName+' :'+dict.deptId"
|
:label="dict.deptName+' :'+dict.deptId"
|
||||||
:value="dict.id"
|
:value="dict.deptId"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
Loading…
Reference in New Issue