企业列表出来了
parent
f6912e938a
commit
42d0f186be
|
@ -135,6 +135,9 @@ public class MyApiController extends BaseController
|
||||||
MyApi myApi1 = myApiService.selectMyApiByUserIdAndApiId(userId, myApi.getApiId());
|
MyApi myApi1 = myApiService.selectMyApiByUserIdAndApiId(userId, myApi.getApiId());
|
||||||
if (myApi1!=null) {
|
if (myApi1!=null) {
|
||||||
myApi.setMyNum(myApi1.getMyNum()+myApi.getMyNum());
|
myApi.setMyNum(myApi1.getMyNum()+myApi.getMyNum());
|
||||||
|
if(myApi1.getMyStates().equals("N")){
|
||||||
|
myApi.setMyStates("Y");
|
||||||
|
}
|
||||||
return toAjax(myApiService.updateById(myApi));
|
return toAjax(myApiService.updateById(myApi));
|
||||||
}
|
}
|
||||||
// 获取当前时间(没有时区)
|
// 获取当前时间(没有时区)
|
||||||
|
|
Loading…
Reference in New Issue