|
@@ -5,7 +5,9 @@ import com.github.pagehelper.PageHelper;
|
|
|
import com.xlht.xlhtproject.domain.HomeCountInfo;
|
|
|
import com.xlht.xlhtproject.domain.TShuju1;
|
|
|
import com.xlht.xlhtproject.domain.TTbDu;
|
|
|
+import com.xlht.xlhtproject.domain.TXlhtConf;
|
|
|
import com.xlht.xlhtproject.mapper.TTbDuMapper;
|
|
|
+import com.xlht.xlhtproject.mapper.TXlhtConfMapper;
|
|
|
import com.xlht.xlhtproject.respParse.bean.AjaxResult;
|
|
|
import com.xlht.xlhtproject.respParse.bean.R;
|
|
|
import com.xlht.xlhtproject.respParse.page.TableDataInfo;
|
|
@@ -37,6 +39,9 @@ public class FrontController extends BaseController{
|
|
|
@Autowired
|
|
|
private ITShuju1Service tShuju1Service;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private TXlhtConfMapper xlhtConfMapper;
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
*
|
|
@@ -148,6 +153,30 @@ public class FrontController extends BaseController{
|
|
|
return R.ok(this.frontService.homeCountInfo());
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ *获取投加参数配置信息
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/bigModel/smartAdd/addConfigDetail")
|
|
|
+ public R<TXlhtConf> addConfigDetail()
|
|
|
+ {
|
|
|
+ log.info("进入了 获取投加参数配置信息 接口");
|
|
|
+ return R.ok(this.xlhtConfMapper.selectTXlhtConfById(1L));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ *修改投加参数配置信息
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PutMapping("/bigModel/smartAdd/updateConfig")
|
|
|
+ public R<String> updateConfig(@RequestBody TXlhtConf tXlhtConf)
|
|
|
+ {
|
|
|
+ log.info("进入了 修改投加参数配置信息 接口");
|
|
|
+ tXlhtConf.setId(LONG_1);
|
|
|
+ this.xlhtConfMapper.updateTXlhtConf(tXlhtConf);
|
|
|
+ return R.ok("修改成功");
|
|
|
+ }
|
|
|
|
|
|
|
|
|
}
|