两千万数据框架

master
chaiyapeng 2024-09-04 15:00:01 +08:00
parent c5314aba8c
commit 68a4e9a454
4 changed files with 35 additions and 6 deletions

View File

@ -4,7 +4,12 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="d7f9db40-65da-4834-b29d-bbe0bd94d010" name="更改" comment="两千万数据框架" /> <list default="true" id="d7f9db40-65da-4834-b29d-bbe0bd94d010" name="更改" comment="两千万数据框架">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cloud-port-common/src/main/java/com/muyu/domain/DataMillion.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-port-common/src/main/java/com/muyu/domain/DataMillion.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cloud-port-server/src/main/java/com/muyu/cloud/mart/controller/DataMillionController.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-port-server/src/main/java/com/muyu/cloud/mart/controller/DataMillionController.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cloud-port-server/src/main/java/com/muyu/cloud/mart/service/impl/DataMillionServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-port-server/src/main/java/com/muyu/cloud/mart/service/impl/DataMillionServiceImpl.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -138,7 +143,7 @@
<workItem from="1725345043314" duration="1792000" /> <workItem from="1725345043314" duration="1792000" />
<workItem from="1725350762294" duration="4960000" /> <workItem from="1725350762294" duration="4960000" />
<workItem from="1725380326630" duration="2900000" /> <workItem from="1725380326630" duration="2900000" />
<workItem from="1725415396368" duration="3489000" /> <workItem from="1725415396368" duration="5071000" />
</task> </task>
<task id="LOCAL-00001" summary="初始化"> <task id="LOCAL-00001" summary="初始化">
<option name="closed" value="true" /> <option name="closed" value="true" />
@ -388,7 +393,15 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1725423093550</updated> <updated>1725423093550</updated>
</task> </task>
<option name="localTasksCounter" value="32" /> <task id="LOCAL-00032" summary="两千万数据框架">
<option name="closed" value="true" />
<created>1725431886701</created>
<option name="number" value="00032" />
<option name="presentableId" value="LOCAL-00032" />
<option name="project" value="LOCAL" />
<updated>1725431886701</updated>
</task>
<option name="localTasksCounter" value="33" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">

View File

@ -16,4 +16,5 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor @NoArgsConstructor
public class DataMillion { public class DataMillion {
private Long id; private Long id;
private String name;
} }

View File

@ -1,9 +1,19 @@
package com.muyu.cloud.mart.controller; package com.muyu.cloud.mart.controller;
import cn.hutool.db.PageResult;
import com.dtflys.forest.annotation.Post;
import com.muyu.cloud.mart.service.DataMillionService;
import com.muyu.common.core.web.controller.BaseController; import com.muyu.common.core.web.controller.BaseController;
import com.muyu.domain.DataMillion;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import javax.xml.transform.Result;
import java.util.List;
/** /**
* @Authorchaiyapeng * @Authorchaiyapeng
* @Packagecom.muyu.cloud.mart.controller * @Packagecom.muyu.cloud.mart.controller
@ -14,4 +24,8 @@ import org.springframework.web.bind.annotation.RestController;
@RestController @RestController
@RequestMapping("million") @RequestMapping("million")
public class DataMillionController extends BaseController { public class DataMillionController extends BaseController {
@Autowired
private DataMillionService dataMillionService;
} }

View File

@ -5,6 +5,7 @@ import com.muyu.cloud.mart.mapper.DataMillionMapper;
import com.muyu.cloud.mart.service.DataMillionService; import com.muyu.cloud.mart.service.DataMillionService;
import com.muyu.domain.DataMillion; import com.muyu.domain.DataMillion;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
/** /**
@ -16,9 +17,9 @@ import org.springframework.stereotype.Service;
*/ */
@Service @Service
@Log4j2 @Log4j2
public class DataMillionServiceImpl public class DataMillionServiceImpl extends ServiceImpl<DataMillionMapper, DataMillion> implements DataMillionService {
extends ServiceImpl<DataMillionMapper, DataMillion> @Autowired
implements DataMillionService { private DataMillionMapper dataMillionMapper;
} }