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