com.diboot.devtools.v2.O0OOOO000O0O0000 Maven / Gradle / Ivy
The newest version!
/**
* Copyright (c) dibo.ltd, https://www.dibo.ltd, https://www.diboot.com
*
* ---- 版权声明 ----
* Diboot相关商标、软件著作权、专利等全部知识产权隶属于苏州帝博信息技术有限公司。
* Diboot devtools 非开源项目,如您有devtools相关定制化需求,请至官网(https://www.dibo.ltd)联系帝博信息商务。
*
* 《中华人民共和国刑法》规定:破坏计算机信息系统罪,处五年以下有期徒刑或者拘役;后果特别严重的,处五年以上有期徒刑。
* 侵犯知识产权罪:处三年以下有期徒刑、拘役或管制,并处罚金;情节特别严重的,处三年以上七年以下有期徒刑,并处罚金。
*
* 任何尝试破解、破坏devtools、侵犯diboot知识产权的行为,我们将不惜一切代价追究到底!
*
*/
package com.diboot.devtools.v2;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.diboot.core.exception.BusinessException;
import com.diboot.core.util.V;
import com.diboot.core.vo.JsonResult;
import io.swagger.v3.oas.annotations.Hidden;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import java.util.List;
@Hidden
@Slf4j
@RestController
@RequestMapping("/diboot/devtools/mbdc")
@Deprecated()
public class O0OOOO000O0O0000 {
@Autowired
private OOO0O0O0O000OOOO llll1l1lll111;
@Autowired
private O0OO0OO000OO0000 lll111l1l1111;
@Autowired
private OO0OOOO0O000O000 l111ll1lll1l1;
@O0O0OO0O00O00O00
@PostMapping("/gn")
@Deprecated()
public JsonResult lll1lllllll11l1(@Valid @ModelAttribute OO0OO000O0O0OOOO l1llll1llll1) throws Exception {
String l1l111111111 = OO0O0OOOOO0O0O00.lll1l1l1lllll11();
if (V.notEmpty(l1l111111111)) {
return JsonResult.FAIL_VALIDATION(l1l111111111);
}
l111ll1lll1l1.l11l1l1l1l1111l(l1llll1llll1);
return JsonResult.OK(llll1l1lll111.l11l11lll1ll111(l1llll1llll1));
}
@O0O0OO0O00O00O00
@GetMapping("/pt")
@Deprecated()
public JsonResult lll11ll1llll1ll() throws Exception {
if (V.isEmpty(OO0O0OOOOO0O0O00.l1lll1ll1111l1l().getOutputPathMobileUi())) {
return JsonResult.FAIL_OPERATION(OOO0OO00O00O00OO.l11llll1ll11ll1("6K+36YWN572ubW9iaWxl5YmN56uv6aG555uu6Lev5b6EOiBkaWJvb3QuZGV2dG9vbHMub3V0cHV0LXBhdGgtbW9iaWxlLXVp"));
}
return JsonResult.OK(OOO0OO00O00O00OO.l11llll1ll11ll1("dVZpZXc="));
}
@O0O0OO0O00O00O00
@GetMapping("/rt")
@Deprecated()
public JsonResult l1111ll111ll111() throws Exception {
String l1l111ll1lll = "";
try {
l1l111ll1lll = llll1l1lll111.l1l111ll11l11l1();
} catch (BusinessException e) {
return JsonResult.FAIL_OPERATION(e.getMessage());
}
return JsonResult.OK(l1l111ll1lll);
}
@O0O0OO0O00O00O00
@GetMapping("/rctl")
@Deprecated()
public JsonResult lllll1l11ll1lll(HttpServletRequest ll11ll11ll1l, @RequestParam("tableName") String ll1l11ll1l11) throws Exception {
if (V.isEmpty(ll1l11ll1l11)) {
return JsonResult.OK();
}
List l11lllll1ll1 = lll111l1l1111.getEntityList(Wrappers.lambdaQuery().eq(OOO0OO00O00OO00O::getProjectType, O0O0O0000OO0O000.l111l1ll1l1111).eq(OOO0OO00O00OO00O::getPanelCode, ll1l11ll1l11).orderByDesc(OOO0OO00O00OO00O::getId));
l111ll1lll1l1.lll1ll1111llll1(l11lllll1ll1);
return JsonResult.OK(l11lllll1ll1);
}
}