Browse Source

市北大屏数据采集修改名字

feature/evaluate
yinzuomei 5 years ago
parent
commit
4a9b734ceb
  1. 39
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/controller/ShiBeiScreenCollController.java
  2. 2
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/ShiBeiScreenCollService.java
  3. 4
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ShiBeiScreenCollServiceImpl.java

39
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/controller/ShiBeiScreenCollController.java

@ -4,14 +4,13 @@ import com.epmet.commons.extappauth.annotation.ExternalAppRequestAuth;
import com.epmet.commons.extappauth.bean.ExternalAppRequestParam;
import com.epmet.commons.tools.utils.Result;
import com.epmet.dto.screencoll.form.*;
import com.epmet.service.evaluationindex.screen.ScreenCollService;
import com.epmet.service.evaluationindex.screen.ShiBeiScreenCollService;
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.RestController;
import java.util.List;
/**
* 市北大屏数据采集api
@ -24,7 +23,7 @@ import java.util.List;
public class ShiBeiScreenCollController {
@Autowired
private ScreenCollService screenCollService;
private ShiBeiScreenCollService shiBeiScreenCollService;
/**
* 9党建引领|基层治理-居民党员积分排行榜
@ -38,7 +37,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("partyuserrankdata")
public Result partyUserRankData(ExternalAppRequestParam externalAppRequestParam, @RequestBody PartyUserRankDataListFormDTO formDTO) {
screenCollService.insertPartyUserRankData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertPartyUserRankData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -54,7 +53,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("partylinkmassesdata")
public Result partyLinkMassesData(ExternalAppRequestParam externalAppRequestParam, @RequestBody PartyLinkMassesDataListFormDTO formDTO) {
screenCollService.insertPartyLinkMassesData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertPartyLinkMassesData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -70,7 +69,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("meetdata")
public Result meetData(ExternalAppRequestParam externalAppRequestParam, @RequestBody PartyBranchDataListFormDTO formDTO) {
screenCollService.insertPartyBranchData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertPartyBranchData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -86,7 +85,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("orgrankdata")
public Result orgRankData(ExternalAppRequestParam externalAppRequestParam, @RequestBody OrgRankDataListFormDTO formDTO) {
screenCollService.insertOrgRankData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertOrgRankData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -102,7 +101,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("governrankdata")
public Result governRankData(ExternalAppRequestParam externalAppRequestParam, @RequestBody GovernRankDataListFormDTO formDTO) {
screenCollService.insertGovernRankData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertGovernRankData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -118,7 +117,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("eventdata")
public Result eventData(ExternalAppRequestParam externalAppRequestParam, @RequestBody EventDataListFormDTO formDTO) {
screenCollService.insertEventData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertEventData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -134,7 +133,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("difficultydata")
public Result difficultyData(ExternalAppRequestParam externalAppRequestParam, @RequestBody DifficultyDataFormDTO formDTO) {
screenCollService.insertDifficultyData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertDifficultyData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -150,7 +149,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("cpcbasedata")
public Result cpcbaseData(ExternalAppRequestParam externalAppRequestParam, @RequestBody CpcBaseDataListFormDTO formDTO) {
screenCollService.insertCpcbaseData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertCpcbaseData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -166,7 +165,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("indexdatamonthly")
public Result indexDataMonthly(ExternalAppRequestParam externalAppRequestParam, @RequestBody IndexDataListMonthlyFormDTO formDTO) {
screenCollService.insertIndexDataMonthly(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertIndexDataMonthly(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -184,7 +183,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("indexdatayearly")
public Result indexDataYearly(ExternalAppRequestParam externalAppRequestParam, @RequestBody IndexDataListYearlyFormDTO formDTO) {
screenCollService.insertIndexDataYearly(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertIndexDataYearly(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -200,7 +199,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("customerdept")
public Result customerDept(ExternalAppRequestParam externalAppRequestParam, @RequestBody CustomerDeptListFormDTO formDTO) {
screenCollService.insertCustomerDept(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertCustomerDept(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -216,7 +215,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("customergrid")
public Result customerGrid(ExternalAppRequestParam externalAppRequestParam, @RequestBody CustomerGridListFormDTO formDTO) {
screenCollService.insertCustomerGrid(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertCustomerGrid(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -232,7 +231,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("customeragency")
public Result customerAgency(ExternalAppRequestParam externalAppRequestParam, @RequestBody CustomerAgencyListFormDTO formDTO) {
screenCollService.insertCustomerAgency(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertCustomerAgency(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -248,7 +247,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("usertotaldata")
public Result userTotalData(ExternalAppRequestParam externalAppRequestParam, @RequestBody UserTotalDataListFormDTO formDTO) {
screenCollService.insertUserTotalData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertUserTotalData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -264,7 +263,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("userjoin")
public Result userJoin(ExternalAppRequestParam externalAppRequestParam, @RequestBody UserJoinListFormDTO formDTO) {
screenCollService.insertUserJoin(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertUserJoin(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -280,7 +279,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("pioneerdata")
public Result pioneerData(ExternalAppRequestParam externalAppRequestParam, @RequestBody PioneerDataListFormDTO formDTO) {
screenCollService.insertPioneerData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertPioneerData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
@ -297,7 +296,7 @@ public class ShiBeiScreenCollController {
@ExternalAppRequestAuth
@PostMapping("publicpartitotaldata")
public Result publicPartiTotalData(ExternalAppRequestParam externalAppRequestParam, @RequestBody PublicPartiTotalDataListFormDTO formDTO) {
screenCollService.insertPublicPartiTotalData(formDTO, externalAppRequestParam.getCustomerId());
shiBeiScreenCollService.insertPublicPartiTotalData(formDTO, externalAppRequestParam.getCustomerId());
return new Result();
}
}

2
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/ScreenCollService.java → epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/ShiBeiScreenCollService.java

@ -9,7 +9,7 @@ import java.util.List;
* @author yinzuomei@elink-cn.com
* @date 2020/8/18 10:25
*/
public interface ScreenCollService {
public interface ShiBeiScreenCollService {
/**
* 9党建引领|基层治理-居民党员积分排行榜

4
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ScreenCollServiceImpl.java → epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/ShiBeiScreenCollServiceImpl.java

@ -26,7 +26,7 @@ import com.epmet.dao.evaluationindex.screen.*;
import com.epmet.dto.screencoll.form.*;
import com.epmet.entity.evaluationindex.screen.ScreenEventImgDataEntity;
import com.epmet.entity.evaluationindex.screen.ScreenUserJoinEntity;
import com.epmet.service.evaluationindex.screen.ScreenCollService;
import com.epmet.service.evaluationindex.screen.ShiBeiScreenCollService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@ -45,7 +45,7 @@ import java.util.List;
*/
@Service
@DataSource(DataSourceConstant.EVALUATION_INDEX)
public class ScreenCollServiceImpl implements ScreenCollService {
public class ShiBeiScreenCollServiceImpl implements ShiBeiScreenCollService {
@Autowired
private ScreenPartyUserRankDataDao screenPartyUserRankDataDao;
Loading…
Cancel
Save