zcr:数据信息统计表

This commit is contained in:
Kevin
2021-11-15 10:01:54 +08:00
parent da9e23196e
commit 690504bddd
37 changed files with 2421 additions and 2 deletions
@@ -0,0 +1,73 @@
package com.adc.da.slrs.esRevisePlan.controller;
import com.adc.da.http.ResponseMessage;
import com.adc.da.http.Result;
import com.adc.da.slrs.esRevisePlan.service.IEsRevisePlanService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.adc.da.slrs.esRevisePlan.entity.EsRevisePlan;
import io.swagger.annotations.Api;
import com.adc.da.base.web.BaseController;
import java.util.List;
/**
* <p>
* 企标制修订计划 前端控制器
* </p>
*
* @author zcr
* @since 2021-11-14
*/
@RestController
@Api(description = "|EsRevisePlan|")
@RequestMapping("api/esRevisePlan/es-revise-plan")
public class EsRevisePlanController extends BaseController<EsRevisePlan> {
@Autowired
IEsRevisePlanService iEsRevisePlanService;
@ApiOperation(value = "获取所有企标计划")
@GetMapping("getAllPlans")
public ResponseMessage<Object> getAllPlans(){
return Result.success(iEsRevisePlanService.getAllPlans());
}
@ApiOperation(value = "多条件查询企标计划")
@PostMapping("queryAllPlans")
public ResponseMessage<Object> queryAllPlans(EsRevisePlan esRevisePlan){
return Result.success(iEsRevisePlanService.queryAllPlans(esRevisePlan));
}
@ApiOperation(value = "获取单个企标计划详情")
@GetMapping("getPlanInfo")
public ResponseMessage<Object> getPlanInfo(String id){
return Result.success(iEsRevisePlanService.getOnePlan(id));
}
@ApiOperation(value = "编辑企标计划")
@PostMapping("modPlan")
public ResponseMessage<Object> modPlan(EsRevisePlan esRevisePlan){
return Result.success(iEsRevisePlanService.modPlan(esRevisePlan));
}
@ApiOperation(value = "添加企标计划")
@PostMapping("addPlan")
public ResponseMessage<Object> addPlan(EsRevisePlan esRevisePlan){
return Result.success(iEsRevisePlanService.addPlan(esRevisePlan));
}
@ApiOperation(value = "删除单个企标计划")
@GetMapping("delPlan")
public ResponseMessage<Object> delPlan(String id){
return Result.success(iEsRevisePlanService.delPlan(id));
}
@ApiOperation(value = "批量删除企标计划")
@GetMapping("delPlans")
public ResponseMessage<Object> delPlans(String ids){
return Result.success(iEsRevisePlanService.delPlans(ids));
}
}
@@ -0,0 +1,26 @@
package com.adc.da.slrs.esRevisePlan.dao;
import com.adc.da.slrs.esRevisePlan.entity.EsRevisePlan;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
/**
* <p>
* 企标制修订计划 Mapper 接口
* </p>
*
* @author zcr
* @since 2021-11-14
*/
public interface EsRevisePlanDao extends BaseMapper<EsRevisePlan> {
List<EsRevisePlan> selectAll();//查询所有
List<EsRevisePlan> queryAll(EsRevisePlan esRevisePlan);//多条件查询
EsRevisePlan selectOne(String id);//查询详情
int updateOne(EsRevisePlan esRevisePlan);//编辑
int insertOne(EsRevisePlan esRevisePlan);//插入
int deleteOne(String id);//删除
int deleteBatch(String[] ids);//批量删除
}
@@ -0,0 +1,59 @@
package com.adc.da.slrs.esRevisePlan.entity;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
/**
* <p>
* 企标制修订计划
* </p>
*
* @author zcr
* @since 2021-11-14
*/
@Data
@Accessors(chain = true)
@ApiModel(value="EsRevisePlan对象", description="企标制修订计划")
public class EsRevisePlan{
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主键")
private String id;
@ApiModelProperty(value = "企标名称")
private String esName;
@ApiModelProperty(value = "计划状态")
private String planStatus;
@ApiModelProperty(value = "制修订状态")
private String reviseStatus;
@ApiModelProperty(value = "起草人")
private String drafter;
@ApiModelProperty(value = "评审责任人")
private String resPerson;
@ApiModelProperty(value = "工作组组长")
private String wgLeader;
@ApiModelProperty(value = "计划标准初稿完成时间")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date draftTime;
@ApiModelProperty(value = "计划标准发布时间")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date releaseTime;
@ApiModelProperty(value = "起草责任单位")
private String unit;
}
@@ -0,0 +1,25 @@
package com.adc.da.slrs.esRevisePlan.service;
import com.adc.da.slrs.esRevisePlan.entity.EsRevisePlan;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
* <p>
* 企标制修订计划 服务类
* </p>
*
* @author zcr
* @since 2021-11-14
*/
public interface IEsRevisePlanService extends IService<EsRevisePlan> {
List<EsRevisePlan> getAllPlans();//查询所有
List<EsRevisePlan> queryAllPlans(EsRevisePlan esRevisePlan);//多条件查询
EsRevisePlan getOnePlan(String id);//查询详情
int modPlan(EsRevisePlan esRevisePlan);//编辑
int addPlan(EsRevisePlan esRevisePlan);//插入
int delPlan(String id);//删除
int delPlans(String ids);//批量删除
}
@@ -0,0 +1,63 @@
package com.adc.da.slrs.esRevisePlan.service.impl;
import com.adc.da.slrs.esRevisePlan.entity.EsRevisePlan;
import com.adc.da.slrs.esRevisePlan.dao.EsRevisePlanDao;
import com.adc.da.slrs.esRevisePlan.service.IEsRevisePlanService;
import com.adc.da.util.UUIDUtils;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* <p>
* 企标制修订计划 服务实现类
* </p>
*
* @author zcr
* @since 2021-11-14
*/
@Service
public class EsRevisePlanServiceImpl extends ServiceImpl<EsRevisePlanDao, EsRevisePlan> implements IEsRevisePlanService {
@Autowired
EsRevisePlanDao esRevisePlanDao;
@Override
public List<EsRevisePlan> getAllPlans() {
return esRevisePlanDao.selectAll();
}
@Override
public List<EsRevisePlan> queryAllPlans(EsRevisePlan esRevisePlan) {
return esRevisePlanDao.queryAll(esRevisePlan);
}
@Override
public EsRevisePlan getOnePlan(String id) {
return esRevisePlanDao.selectOne(id);
}
@Override
public int modPlan(EsRevisePlan esRevisePlan) {
return esRevisePlanDao.updateOne(esRevisePlan);
}
@Override
public int addPlan(EsRevisePlan esRevisePlan) {
esRevisePlan.setId(UUIDUtils.randomUUID(32));
return esRevisePlanDao.insertOne(esRevisePlan);
}
@Override
public int delPlan(String id) {
return esRevisePlanDao.deleteOne(id);
}
@Override
public int delPlans(String ids) {
String[] str = ids.split(",");
return esRevisePlanDao.deleteBatch(str);
}
}
@@ -55,13 +55,13 @@ public class SapMeetingController extends BaseController<SapMeeting> {
return sapMeetingService.getMeetingsByMonth(date, type);
}
@ApiOperation(value = "获取当天")
@ApiOperation(value = "获取当天列表")
@GetMapping("/getMeetingsByDate")
public List<SapMeeting> getMeetingsByDate(@DateTimeFormat(pattern = "yyyy-MM-dd") Date date,int type){
return sapMeetingService.getMeetingsByDate(date,type);
}
@ApiOperation(value = "插入")
@ApiOperation(value = "插入会议")
@PostMapping("/addMeeting")
public int addMeeting(@RequestBody SapMeeting sapMeeting){
return sapMeetingService.addMeeting(sapMeeting);
@@ -0,0 +1,66 @@
package com.adc.da.slrs.wgdCensusZ.controller;
import com.adc.da.http.ResponseMessage;
import com.adc.da.http.Result;
import com.adc.da.slrs.wgdCensusZ.service.IWgdAssocCostService;
import com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost;
import io.swagger.annotations.Api;
import com.adc.da.base.web.BaseController;
import java.util.List;
/**
* <p>
* 协会费用信息统计 前端控制器
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@RestController
@Api(description = "|WgdAssocCost|")
@RequestMapping("api/wgdCensusZ/wgd-assoc-cost")
public class WgdAssocCostController extends BaseController<WgdAssocCost> {
@Autowired
IWgdAssocCostService iWgdAssocCostService;
@GetMapping("getAllAssocCosts")
public ResponseMessage<Object> getAllWgdAssocCosts(){//查询所有
return Result.success(iWgdAssocCostService.getAllWgdAssocCosts());
}
@PostMapping("queryAllAssocCosts")
public ResponseMessage<Object> queryAllWgdAssocCosts(WgdAssocCost wgdAssocCost){//多条件查询
return Result.success(iWgdAssocCostService.queryAllWgdAssocCosts(wgdAssocCost));
}
@GetMapping("getAssocCostById")
public ResponseMessage<Object> getWgdAssocCostById(String id) {//查询详情
return Result.success(iWgdAssocCostService.getWgdAssocCostById(id));
}
@PostMapping("modAssocCost")
ResponseMessage<Object> updateWgdAssocCost(WgdAssocCost wgdAssocCost) {//编辑
return Result.success(iWgdAssocCostService.updateWgdAssocCost(wgdAssocCost));
}
@PostMapping("addAssocCost")
ResponseMessage<Object> insertWgdAssocCost(WgdAssocCost wgdAssocCost) {//插入
return Result.success(iWgdAssocCostService.insertWgdAssocCost(wgdAssocCost));
}
@GetMapping("delAssocCost")
ResponseMessage<Object> deleteWgdAssocCost(String id){//删除
return Result.success(iWgdAssocCostService.deleteWgdAssocCost(id));
}
@GetMapping("delAssocCosts")
ResponseMessage<Object> deleteWgdAssocCosts(String ids){//批量删除
return Result.success(iWgdAssocCostService.deleteWgdAssocCosts(ids));
}
}
@@ -0,0 +1,65 @@
package com.adc.da.slrs.wgdCensusZ.controller;
import com.adc.da.slrs.wgdCensusZ.service.IWgdAssocInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RestController;
import com.adc.da.base.web.BaseController;
import java.util.List;
/**
* <p>
* 协会信息数据统计 前端控制器
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@RestController
@Api(description = "|WgdAssocInfo|")
@RequestMapping("api/wgdCensusZ/wgd-assoc-info")
public class WgdAssocInfoController extends BaseController<WgdAssocInfo> {
@Autowired
IWgdAssocInfoService iWgdAssocInfoService;
@GetMapping("getAllAssocInfos")
public List<WgdAssocInfo> getAllWgdAssocInfos(){//查询所有
return iWgdAssocInfoService.getAllWgdAssocInfos();
}
@PostMapping("queryAllAssocInfos")
public List<WgdAssocInfo> queryAllWgdAssocInfos(WgdAssocInfo WgdAssocInfo){//多条件查询
return iWgdAssocInfoService.queryAllWgdAssocInfos(WgdAssocInfo);
}
@GetMapping("getAssocInfoById")
public WgdAssocInfo getWgdAssocInfoById(String id) {//查询详情
return iWgdAssocInfoService.getWgdAssocInfoById(id);
}
@PostMapping("modAssocInfo")
int updateWgdAssocInfo(WgdAssocInfo WgdAssocInfo) {//编辑
return iWgdAssocInfoService.updateWgdAssocInfo(WgdAssocInfo);
}
@PostMapping("addAssocInfo")
int insertWgdAssocInfo(WgdAssocInfo WgdAssocInfo) {//插入
return iWgdAssocInfoService.insertWgdAssocInfo(WgdAssocInfo);
}
@GetMapping("delAssocInfo")
int deleteWgdAssocInfo(String id){//删除
return iWgdAssocInfoService.deleteWgdAssocInfo(id);
}
@GetMapping("delAssocInfos")
int deleteWgdAssocInfos(String ids){//批量删除
return iWgdAssocInfoService.deleteWgdAssocInfos(ids);
}
}
@@ -0,0 +1,65 @@
package com.adc.da.slrs.wgdCensusZ.controller;
import com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo;
import com.adc.da.slrs.wgdCensusZ.service.IWgdCommiInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RestController;
import com.adc.da.base.web.BaseController;
import java.util.List;
/**
* <p>
* 委员信息数据统计 前端控制器
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@RestController
@Api(description = "|WgdCommiInfo|")
@RequestMapping("api/wgdCensusZ/wgd-commi-info")
public class WgdCommiInfoController extends BaseController<WgdCommiInfo> {
@Autowired
IWgdCommiInfoService iWgdCommiInfoService;
@GetMapping("getAllCommiInfos")
public List<WgdCommiInfo> getAllWgdCommiInfos(){//查询所有
return iWgdCommiInfoService.getAllWgdCommiInfos();
}
@PostMapping("queryAllCommiInfos")
public List<WgdCommiInfo> queryAllWgdCommiInfos(WgdCommiInfo WgdCommiInfo){//多条件查询
return iWgdCommiInfoService.queryAllWgdCommiInfos(WgdCommiInfo);
}
@GetMapping("getCommiInfoById")
public WgdCommiInfo getWgdCommiInfoById(String id) {//查询详情
return iWgdCommiInfoService.getWgdCommiInfoById(id);
}
@PostMapping("modCommiInfo")
int updateWgdCommiInfo(WgdCommiInfo WgdCommiInfo) {//编辑
return iWgdCommiInfoService.updateWgdCommiInfo(WgdCommiInfo);
}
@PostMapping("addCommiInfo")
int insertWgdCommiInfo(WgdCommiInfo WgdCommiInfo) {//插入
return iWgdCommiInfoService.insertWgdCommiInfo(WgdCommiInfo);
}
@GetMapping("delCommiInfo")
int deleteWgdCommiInfo(String id){//删除
return iWgdCommiInfoService.deleteWgdCommiInfo(id);
}
@GetMapping("delCommiInfos")
int deleteWgdCommiInfos(String ids){//批量删除
return iWgdCommiInfoService.deleteWgdCommiInfos(ids);
}
}
@@ -0,0 +1,65 @@
package com.adc.da.slrs.wgdCensusZ.controller;
import com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost;
import com.adc.da.slrs.wgdCensusZ.service.IWgdExReviseCostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RestController;
import com.adc.da.base.web.BaseController;
import java.util.List;
/**
* <p>
* 参与外部标准制修订费用统计 前端控制器
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@RestController
@Api(description = "|WgdExReviseCost|")
@RequestMapping("api/wgdCensusZ/wgd-ex-revise-cost")
public class WgdExReviseCostController extends BaseController<WgdExReviseCost> {
@Autowired
IWgdExReviseCostService iWgdExReviseCostService;
@GetMapping("getAllExReviseCosts")
public List<WgdExReviseCost> getAllWgdExReviseCosts(){//查询所有
return iWgdExReviseCostService.getAllWgdExReviseCosts();
}
@PostMapping("queryAllExReviseCosts")
public List<WgdExReviseCost> queryAllWgdExReviseCosts(WgdExReviseCost WgdExReviseCost){//多条件查询
return iWgdExReviseCostService.queryAllWgdExReviseCosts(WgdExReviseCost);
}
@GetMapping("getExReviseCostById")
public WgdExReviseCost getWgdExReviseCostById(String id) {//查询详情
return iWgdExReviseCostService.getWgdExReviseCostById(id);
}
@PostMapping("modExReviseCost")
int updateWgdExReviseCost(WgdExReviseCost WgdExReviseCost) {//编辑
return iWgdExReviseCostService.updateWgdExReviseCost(WgdExReviseCost);
}
@PostMapping("addExReviseCost")
int insertWgdExReviseCost(WgdExReviseCost WgdExReviseCost) {//插入
return iWgdExReviseCostService.insertWgdExReviseCost(WgdExReviseCost);
}
@GetMapping("delExReviseCost")
int deleteWgdExReviseCost(String id){//删除
return iWgdExReviseCostService.deleteWgdExReviseCost(id);
}
@GetMapping("delExReviseCosts")
int deleteWgdExReviseCosts(String ids){//批量删除
return iWgdExReviseCostService.deleteWgdExReviseCosts(ids);
}
}
@@ -0,0 +1,65 @@
package com.adc.da.slrs.wgdCensusZ.controller;
import com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost;
import com.adc.da.slrs.wgdCensusZ.service.IWgdMeetCostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RestController;
import com.adc.da.base.web.BaseController;
import java.util.List;
/**
* <p>
* 参会费用信息统计 前端控制器
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@RestController
@Api(description = "|WgdMeetCost|")
@RequestMapping("api/wgdCensusZ/wgd-meet-cost")
public class WgdMeetCostController extends BaseController<WgdMeetCost> {
@Autowired
IWgdMeetCostService iWgdMeetCostService;
@GetMapping("getAllMeetCosts")
public List<WgdMeetCost> getAllWgdMeetCosts(){//查询所有
return iWgdMeetCostService.getAllWgdMeetCosts();
}
@PostMapping("queryAllMeetCosts")
public List<WgdMeetCost> queryAllWgdMeetCosts(WgdMeetCost WgdMeetCost){//多条件查询
return iWgdMeetCostService.queryAllWgdMeetCosts(WgdMeetCost);
}
@GetMapping("getMeetCostById")
public WgdMeetCost getWgdMeetCostById(String id) {//查询详情
return iWgdMeetCostService.getWgdMeetCostById(id);
}
@PostMapping("modMeetCost")
int updateWgdMeetCost(WgdMeetCost WgdMeetCost) {//编辑
return iWgdMeetCostService.updateWgdMeetCost(WgdMeetCost);
}
@PostMapping("addMeetCost")
int insertWgdMeetCost(WgdMeetCost WgdMeetCost) {//插入
return iWgdMeetCostService.insertWgdMeetCost(WgdMeetCost);
}
@GetMapping("delMeetCost")
int deleteWgdMeetCost(String id){//删除
return iWgdMeetCostService.deleteWgdMeetCost(id);
}
@GetMapping("delMeetCosts")
int deleteWgdMeetCosts(String ids){//批量删除
return iWgdMeetCostService.deleteWgdMeetCosts(ids);
}
}
@@ -0,0 +1,27 @@
package com.adc.da.slrs.wgdCensusZ.dao;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
/**
* <p>
* 协会费用信息统计 Mapper 接口
* </p>
*
* @author zcr
* @since 2021-11-12
*/
public interface WgdAssocCostDao extends BaseMapper<WgdAssocCost> {
List<WgdAssocCost> selectAll();//查询所有
List<WgdAssocCost> queryAll(WgdAssocCost wgdAssocCost);//多条件查询
WgdAssocCost selectOne(String id);//查询详情
int updateOne(WgdAssocCost wgdAssocCost);//编辑
int insertOne(WgdAssocCost wgdAssocCost);//插入
int deleteOne(String id);//删除
int deleteBatch(String[] ids);//批量删除
}
@@ -0,0 +1,27 @@
package com.adc.da.slrs.wgdCensusZ.dao;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
/**
* <p>
* 协会信息数据统计 Mapper 接口
* </p>
*
* @author zcr
* @since 2021-11-12
*/
public interface WgdAssocInfoDao extends BaseMapper<WgdAssocInfo> {
List<WgdAssocInfo> selectAll();//查询所有
List<WgdAssocInfo> queryAll(WgdAssocInfo wgdAssocInfo);//多条件查询
WgdAssocInfo selectOne(String id);//查询详情
int updateOne(WgdAssocInfo wgdAssocInfo);//编辑
int insertOne(WgdAssocInfo wgdAssocInfo);//插入
int deleteOne(String id);//删除
int deleteBatch();//批量删除
}
@@ -0,0 +1,27 @@
package com.adc.da.slrs.wgdCensusZ.dao;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
import com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
/**
* <p>
* 委员信息数据统计 Mapper 接口
* </p>
*
* @author zcr
* @since 2021-11-12
*/
public interface WgdCommiInfoDao extends BaseMapper<WgdCommiInfo> {
List<WgdCommiInfo> selectAll();//查询所有
List<WgdCommiInfo> queryAll(WgdCommiInfo wgdCommiInfo);//多条件查询
WgdCommiInfo selectOne(String id);//查询详情
int updateOne(WgdCommiInfo wgdCommiInfo);//编辑
int insertOne(WgdCommiInfo wgdCommiInfo);//插入
int deleteOne(String id);//删除
int deleteBatch();//批量删除
}
@@ -0,0 +1,27 @@
package com.adc.da.slrs.wgdCensusZ.dao;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
import com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
/**
* <p>
* 参与外部标准制修订费用统计 Mapper 接口
* </p>
*
* @author zcr
* @since 2021-11-12
*/
public interface WgdExReviseCostDao extends BaseMapper<WgdExReviseCost> {
List<WgdExReviseCost> selectAll();//查询所有
List<WgdExReviseCost> queryAll(WgdExReviseCost wgdExReviseCost);//多条件查询
WgdExReviseCost selectOne(String id);//查询详情
int updateOne(WgdExReviseCost wgdExReviseCost);//编辑
int insertOne(WgdExReviseCost wgdExReviseCost);//插入
int deleteOne(String id);//删除
int deleteBatch();//批量删除
}
@@ -0,0 +1,27 @@
package com.adc.da.slrs.wgdCensusZ.dao;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
import com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
/**
* <p>
* 参会费用信息统计 Mapper 接口
* </p>
*
* @author zcr
* @since 2021-11-12
*/
public interface WgdMeetCostDao extends BaseMapper<WgdMeetCost> {
List<WgdMeetCost> selectAll();//查询所有
List<WgdMeetCost> queryAll(WgdMeetCost wgdMeetCost);//多条件查询
WgdMeetCost selectOne(String id);//查询详情
int updateOne(WgdMeetCost wgdMeetCost);//编辑
int insertOne(WgdMeetCost wgdMeetCost);//插入
int deleteOne(String id);//删除
int deleteBatch();//批量删除
}
@@ -0,0 +1,48 @@
package com.adc.da.slrs.wgdCensusZ.entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* <p>
* 协会费用信息统计
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@Data
@Accessors(chain = true)
@ApiModel(value="WgdAssocCost对象", description="协会费用信息统计")
public class WgdAssocCost {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主键")
private String id;
@ApiModelProperty(value = "协会名称-标委会")
private String scName;
@ApiModelProperty(value = "协会名称-分标委")
private String sscName;
@ApiModelProperty(value = "协会名称-工作组")
private String wgName;
@ApiModelProperty(value = "会费标准")
private String payStandard;
@ApiModelProperty(value = "实际发生")
private String payReality;
@ApiModelProperty(value = "费用列支")
private String costOutlay;
@ApiModelProperty(value = "每年缴费情况")
private String annualPayment;
}
@@ -0,0 +1,144 @@
package com.adc.da.slrs.wgdCensusZ.entity;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
/**
* <p>
* 协会信息数据统计
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@Data
@Accessors(chain = true)
@ApiModel(value="WgdAssocInfo对象", description="协会信息数据统计")
public class WgdAssocInfo {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主键")
private String id;
@ApiModelProperty(value = "协会名称-标委会")
private String scName;
@ApiModelProperty(value = "协会名称-分标委")
private String sscName;
@ApiModelProperty(value = "协会名称-工作组")
private String wgName;
@ApiModelProperty(value = "会员角色")
private String role;
@ApiModelProperty(value = "参与人")
private String attend;
@ApiModelProperty(value = "标准")
private String standard;
@ApiModelProperty(value = "标准负责人")
private String charge;
@ApiModelProperty(value = "责任领导")
private String leader;
@ApiModelProperty(value = "初始入会时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date iniTime;
@ApiModelProperty(value = "本届入会时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date curTime;
@ApiModelProperty(value = "费用标准")
private String costStandard;
@ApiModelProperty(value = "费用列支")
private String costOutlay;
@ApiModelProperty(value = "上次缴纳时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date lastPayTime;
@ApiModelProperty(value = "缴费年限")
private String payPeriod;
@ApiModelProperty(value = "经办人")
private String handler;
@ApiModelProperty(value = "部门")
private String department;
@ApiModelProperty(value = "协会性质")
private String asProper;
@ApiModelProperty(value = "协会状态")
private String asStatus;
@ApiModelProperty(value = "协会联络人")
private String asContact;
@ApiModelProperty(value = "协会联络人电话")
private String tel;
@ApiModelProperty(value = "协会联络人邮箱")
private String mail;
@ApiModelProperty(value = "2017缴费")
private String p17;
@ApiModelProperty(value = "2018缴费")
private String p18;
@ApiModelProperty(value = "2019缴费")
private String p19;
@ApiModelProperty(value = "2020缴费")
private String p20;
@ApiModelProperty(value = "2021缴费")
private String p21;
@ApiModelProperty(value = "2022缴费")
private String p22;
@ApiModelProperty(value = "2023缴费")
private String p23;
@ApiModelProperty(value = "2024缴费")
private String p24;
@ApiModelProperty(value = "2025缴费")
private String p25;
@ApiModelProperty(value = "2026缴费")
private String p26;
@ApiModelProperty(value = "2027缴费")
private String p27;
@ApiModelProperty(value = "2028缴费")
private String p28;
@ApiModelProperty(value = "2029缴费")
private String p29;
@ApiModelProperty(value = "2030缴费")
private String p30;
@ApiModelProperty(value = "2031缴费")
private String p31;
@ApiModelProperty(value = "2032缴费")
private String p32;
}
@@ -0,0 +1,76 @@
package com.adc.da.slrs.wgdCensusZ.entity;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
/**
* <p>
* 委员信息数据统计
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@Data
@Accessors(chain = true)
@ApiModel(value="WgdCommiInfo对象", description="委员信息数据统计")
public class WgdCommiInfo {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主键")
private String id;
@ApiModelProperty(value = "提报单位名称")
private String unit;
@ApiModelProperty(value = "协会名称-标委会")
private String scName;
@ApiModelProperty(value = "协会名称-分标委")
private String sscName;
@ApiModelProperty(value = "协会名称-工作组")
private String wgName;
@ApiModelProperty(value = "会员角色")
private String role;
@ApiModelProperty(value = "参与人")
private String attend;
@ApiModelProperty(value = "本届入会时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date curTime;
@ApiModelProperty(value = "职务")
private String job;
@ApiModelProperty(value = "所在部门")
private String department;
@ApiModelProperty(value = "联系方式")
private String tel;
@ApiModelProperty(value = "任期")
private String term;
@ApiModelProperty(value = "证书")
private String certificate;
@ApiModelProperty(value = "账号")
private String account;
@ApiModelProperty(value = "密码")
private String password;
@ApiModelProperty(value = "备注")
private String remark;
}
@@ -0,0 +1,42 @@
package com.adc.da.slrs.wgdCensusZ.entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* <p>
* 参与外部标准制修订费用统计
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@Data
@Accessors(chain = true)
@ApiModel(value="WgdExReviseCost对象", description="参与外部标准制修订费用统计")
public class WgdExReviseCost {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主键")
private String id;
@ApiModelProperty(value = "类型")
private String type;
@ApiModelProperty(value = "项目编号")
private String proId;
@ApiModelProperty(value = "项目名称")
private String proName;
@ApiModelProperty(value = "费用列支项")
private String costOutlay;
@ApiModelProperty(value = "费用支出")
private String cost;
}
@@ -0,0 +1,49 @@
package com.adc.da.slrs.wgdCensusZ.entity;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
/**
* <p>
* 参会费用信息统计
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@Data
@Accessors(chain = true)
@ApiModel(value="WgdMeetCost对象", description="参会费用信息统计")
public class WgdMeetCost {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主键")
private String id;
@ApiModelProperty(value = "主办单位")
private String unit;
@ApiModelProperty(value = "会议名称")
private String meetName;
@ApiModelProperty(value = "会议时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date meetTime;
@ApiModelProperty(value = "会费标准")
private String payStandard;
@ApiModelProperty(value = "实际发生")
private String payReality;
@ApiModelProperty(value = "费用列支")
private String costOutlay;
}
@@ -0,0 +1,26 @@
package com.adc.da.slrs.wgdCensusZ.service;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
* <p>
* 协会费用信息统计 服务类
* </p>
*
* @author zcr
* @since 2021-11-12
*/
public interface IWgdAssocCostService extends IService<WgdAssocCost> {
List<WgdAssocCost> getAllWgdAssocCosts();//查询所有
List<WgdAssocCost> queryAllWgdAssocCosts(WgdAssocCost wgdAssocCost);//多条件查询
WgdAssocCost getWgdAssocCostById(String id);//查询详情
int updateWgdAssocCost(WgdAssocCost wgdAssocCost);//编辑
int insertWgdAssocCost(WgdAssocCost wgdAssocCost);//插入
int deleteWgdAssocCost(String id);//删除
int deleteWgdAssocCosts(String ids);//批量删除
}
@@ -0,0 +1,25 @@
package com.adc.da.slrs.wgdCensusZ.service;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
* <p>
* 协会信息数据统计 服务类
* </p>
*
* @author zcr
* @since 2021-11-12
*/
public interface IWgdAssocInfoService extends IService<WgdAssocInfo> {
List<WgdAssocInfo> getAllWgdAssocInfos();//查询所有
List<WgdAssocInfo> queryAllWgdAssocInfos(WgdAssocInfo wgdAssocInfo);//多条件查询
WgdAssocInfo getWgdAssocInfoById(String id);//查询详情
int updateWgdAssocInfo(WgdAssocInfo wgdAssocInfo);//编辑
int insertWgdAssocInfo(WgdAssocInfo wgdAssocInfo);//插入
int deleteWgdAssocInfo(String id);//删除
int deleteWgdAssocInfos(String ids);//批量删除
}
@@ -0,0 +1,26 @@
package com.adc.da.slrs.wgdCensusZ.service;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
import com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
* <p>
* 委员信息数据统计 服务类
* </p>
*
* @author zcr
* @since 2021-11-12
*/
public interface IWgdCommiInfoService extends IService<WgdCommiInfo> {
List<WgdCommiInfo> getAllWgdCommiInfos();//查询所有
List<WgdCommiInfo> queryAllWgdCommiInfos(WgdCommiInfo wgdCommiInfo);//多条件查询
WgdCommiInfo getWgdCommiInfoById(String id);//查询详情
int updateWgdCommiInfo(WgdCommiInfo wgdCommiInfo);//编辑
int insertWgdCommiInfo(WgdCommiInfo wgdCommiInfo);//插入
int deleteWgdCommiInfo(String id);//删除
int deleteWgdCommiInfos(String ids);//批量删除
}
@@ -0,0 +1,26 @@
package com.adc.da.slrs.wgdCensusZ.service;
import com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo;
import com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
* <p>
* 参与外部标准制修订费用统计 服务类
* </p>
*
* @author zcr
* @since 2021-11-12
*/
public interface IWgdExReviseCostService extends IService<WgdExReviseCost> {
List<WgdExReviseCost> getAllWgdExReviseCosts();//查询所有
List<WgdExReviseCost> queryAllWgdExReviseCosts(WgdExReviseCost wgdExReviseCost);//多条件查询
WgdExReviseCost getWgdExReviseCostById(String id);//查询详情
int updateWgdExReviseCost(WgdExReviseCost wgdExReviseCost);//编辑
int insertWgdExReviseCost(WgdExReviseCost wgdExReviseCost);//插入
int deleteWgdExReviseCost(String id);//删除
int deleteWgdExReviseCosts(String ids);//批量删除
}
@@ -0,0 +1,26 @@
package com.adc.da.slrs.wgdCensusZ.service;
import com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo;
import com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
* <p>
* 参会费用信息统计 服务类
* </p>
*
* @author zcr
* @since 2021-11-12
*/
public interface IWgdMeetCostService extends IService<WgdMeetCost> {
List<WgdMeetCost> getAllWgdMeetCosts();//查询所有
List<WgdMeetCost> queryAllWgdMeetCosts(WgdMeetCost wgdMeetCost);//多条件查询
WgdMeetCost getWgdMeetCostById(String id);//查询详情
int updateWgdMeetCost(WgdMeetCost wgdMeetCost);//编辑
int insertWgdMeetCost(WgdMeetCost wgdMeetCost);//插入
int deleteWgdMeetCost(String id);//删除
int deleteWgdMeetCosts(String ids);//批量删除
}
@@ -0,0 +1,64 @@
package com.adc.da.slrs.wgdCensusZ.service.impl;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost;
import com.adc.da.slrs.wgdCensusZ.dao.WgdAssocCostDao;
import com.adc.da.slrs.wgdCensusZ.service.IWgdAssocCostService;
import com.adc.da.util.UUIDUtils;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Arrays;
import java.util.List;
/**
* <p>
* 协会费用信息统计 服务实现类
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@Service
public class WgdAssocCostServiceImpl extends ServiceImpl<WgdAssocCostDao, WgdAssocCost> implements IWgdAssocCostService {
@Autowired
WgdAssocCostDao wgdAssocCostDao;
@Override
public List<WgdAssocCost> getAllWgdAssocCosts() {
return wgdAssocCostDao.selectAll();
}
@Override
public List<WgdAssocCost> queryAllWgdAssocCosts(WgdAssocCost wgdAssocCost) {
return wgdAssocCostDao.queryAll(wgdAssocCost);
}
@Override
public WgdAssocCost getWgdAssocCostById(String id) {
return wgdAssocCostDao.selectOne(id);
}
@Override
public int updateWgdAssocCost(WgdAssocCost wgdAssocCost) {
return wgdAssocCostDao.updateOne(wgdAssocCost);
}
@Override
public int insertWgdAssocCost(WgdAssocCost wgdAssocCost) {
wgdAssocCost.setId(UUIDUtils.randomUUID(32));
return wgdAssocCostDao.insertOne(wgdAssocCost);
}
@Override
public int deleteWgdAssocCost(String id) {
return wgdAssocCostDao.deleteOne(id);
}
@Override
public int deleteWgdAssocCosts(String ids) {
String[] str = ids.split(",");
return wgdAssocCostDao.deleteBatch(str);
}
}
@@ -0,0 +1,62 @@
package com.adc.da.slrs.wgdCensusZ.service.impl;
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
import com.adc.da.slrs.wgdCensusZ.dao.WgdAssocInfoDao;
import com.adc.da.slrs.wgdCensusZ.service.IWgdAssocInfoService;
import com.adc.da.util.UUIDUtils;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* <p>
* 协会信息数据统计 服务实现类
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@Service
public class WgdAssocInfoServiceImpl extends ServiceImpl<WgdAssocInfoDao, WgdAssocInfo> implements IWgdAssocInfoService {
@Autowired
WgdAssocInfoDao wgdAssocInfoDao;
@Override
public List<WgdAssocInfo> getAllWgdAssocInfos() {
return wgdAssocInfoDao.selectAll();
}
@Override
public List<WgdAssocInfo> queryAllWgdAssocInfos(WgdAssocInfo wgdAssocInfo) {
return wgdAssocInfoDao.queryAll(wgdAssocInfo);
}
@Override
public WgdAssocInfo getWgdAssocInfoById(String id) {
return wgdAssocInfoDao.selectById(id);
}
@Override
public int updateWgdAssocInfo(WgdAssocInfo wgdAssocInfo) {
return wgdAssocInfoDao.updateOne(wgdAssocInfo);
}
@Override
public int insertWgdAssocInfo(WgdAssocInfo wgdAssocInfo) {
wgdAssocInfo.setId(UUIDUtils.randomUUID(32));
return wgdAssocInfoDao.insertOne(wgdAssocInfo);
}
@Override
public int deleteWgdAssocInfo(String id) {
return wgdAssocInfoDao.deleteOne(id);
}
@Override
public int deleteWgdAssocInfos(String ids) {
return wgdAssocInfoDao.deleteBatch();
}
}
@@ -0,0 +1,65 @@
package com.adc.da.slrs.wgdCensusZ.service.impl;
import com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo;
import com.adc.da.slrs.wgdCensusZ.dao.WgdCommiInfoDao;
import com.adc.da.slrs.wgdCensusZ.service.IWgdCommiInfoService;
import com.adc.da.util.MD5Util;
import com.adc.da.util.UUIDUtils;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* <p>
* 委员信息数据统计 服务实现类
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@Service
public class WgdCommiInfoServiceImpl extends ServiceImpl<WgdCommiInfoDao, WgdCommiInfo> implements IWgdCommiInfoService {
@Autowired
WgdCommiInfoDao wgdCommiInfoDao;
@Override
public List<WgdCommiInfo> getAllWgdCommiInfos() {
return wgdCommiInfoDao.selectAll();
}
@Override
public List<WgdCommiInfo> queryAllWgdCommiInfos(WgdCommiInfo wgdCommiInfo) {
return wgdCommiInfoDao.queryAll(wgdCommiInfo);
}
@Override
public WgdCommiInfo getWgdCommiInfoById(String id) {
return wgdCommiInfoDao.selectById(id);
}
@Override
public int updateWgdCommiInfo(WgdCommiInfo wgdCommiInfo) {
return wgdCommiInfoDao.updateOne(wgdCommiInfo);
}
@Override
public int insertWgdCommiInfo(WgdCommiInfo wgdCommiInfo) {
wgdCommiInfo.setId(UUIDUtils.randomUUID(32));
wgdCommiInfo.setPassword(MD5Util.convertMD5(wgdCommiInfo.getPassword()));
return wgdCommiInfoDao.insertOne(wgdCommiInfo);
}
@Override
public int deleteWgdCommiInfo(String id) {
return wgdCommiInfoDao.deleteOne(id);
}
@Override
public int deleteWgdCommiInfos(String ids) {
return wgdCommiInfoDao.deleteBatch();
}
}
@@ -0,0 +1,64 @@
package com.adc.da.slrs.wgdCensusZ.service.impl;
import com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo;
import com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost;
import com.adc.da.slrs.wgdCensusZ.dao.WgdExReviseCostDao;
import com.adc.da.slrs.wgdCensusZ.service.IWgdExReviseCostService;
import com.adc.da.util.UUIDUtils;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* <p>
* 参与外部标准制修订费用统计 服务实现类
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@Service
public class WgdExReviseCostServiceImpl extends ServiceImpl<WgdExReviseCostDao, WgdExReviseCost> implements IWgdExReviseCostService {
@Autowired
WgdExReviseCostDao wgdExReviseCostDao;
@Override
public List<WgdExReviseCost> getAllWgdExReviseCosts() {
return wgdExReviseCostDao.selectAll();
}
@Override
public List<WgdExReviseCost> queryAllWgdExReviseCosts(WgdExReviseCost wgdExReviseCost) {
return wgdExReviseCostDao.queryAll(wgdExReviseCost);
}
@Override
public WgdExReviseCost getWgdExReviseCostById(String id) {
return wgdExReviseCostDao.selectById(id);
}
@Override
public int updateWgdExReviseCost(WgdExReviseCost wgdExReviseCost) {
return wgdExReviseCostDao.updateOne(wgdExReviseCost);
}
@Override
public int insertWgdExReviseCost(WgdExReviseCost wgdExReviseCost) {
wgdExReviseCost.setId(UUIDUtils.randomUUID(32));
return wgdExReviseCostDao.insertOne(wgdExReviseCost);
}
@Override
public int deleteWgdExReviseCost(String id) {
return wgdExReviseCostDao.deleteOne(id);
}
@Override
public int deleteWgdExReviseCosts(String ids) {
return wgdExReviseCostDao.deleteBatch();
}
}
@@ -0,0 +1,63 @@
package com.adc.da.slrs.wgdCensusZ.service.impl;
import com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo;
import com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost;
import com.adc.da.slrs.wgdCensusZ.dao.WgdMeetCostDao;
import com.adc.da.slrs.wgdCensusZ.service.IWgdMeetCostService;
import com.adc.da.util.UUIDUtils;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* <p>
* 参会费用信息统计 服务实现类
* </p>
*
* @author zcr
* @since 2021-11-12
*/
@Service
public class WgdMeetCostServiceImpl extends ServiceImpl<WgdMeetCostDao, WgdMeetCost> implements IWgdMeetCostService {
@Autowired
WgdMeetCostDao wgdMeetCostDao;
@Override
public List<WgdMeetCost> getAllWgdMeetCosts() {
return wgdMeetCostDao.selectAll();
}
@Override
public List<WgdMeetCost> queryAllWgdMeetCosts(WgdMeetCost wgdMeetCost) {
return wgdMeetCostDao.queryAll(wgdMeetCost);
}
@Override
public WgdMeetCost getWgdMeetCostById(String id) {
return wgdMeetCostDao.selectById(id);
}
@Override
public int updateWgdMeetCost(WgdMeetCost wgdMeetCost) {
return wgdMeetCostDao.updateOne(wgdMeetCost);
}
@Override
public int insertWgdMeetCost(WgdMeetCost wgdMeetCost) {
wgdMeetCost.setId(UUIDUtils.randomUUID(32));
return wgdMeetCostDao.insertOne(wgdMeetCost);
}
@Override
public int deleteWgdMeetCost(String id) {
return wgdMeetCostDao.deleteOne(id);
}
@Override
public int deleteWgdMeetCosts(String ids) {
return wgdMeetCostDao.deleteBatch();
}
}
@@ -0,0 +1,195 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.adc.da.slrs.esRevisePlan.dao.EsRevisePlanDao">
<!-- 基础信息-->
<sql id="BaseInfo">
id,
es_name,
plan_status,
revise_status,
drafter,
res_person,
wg_leader,
draft_time,
release_time,
unit
</sql>
<resultMap id="BaseInfoMap" type="com.adc.da.slrs.esRevisePlan.entity.EsRevisePlan">
<id property="id" column="id"></id>
<result property="esName" column="es_name"></result>
<result property="planStatus" column="plan_status"></result>
<result property="reviseStatus" column="revise_status"></result>
<result property="drafter" column="drafter"></result>
<result property="resPerson" column="res_person"></result>
<result property="wgLeader" column="wg_leader"></result>
<result property="draftTime" column="draft_time"></result>
<result property="releaseTime" column="release_time"></result>
<result property="unit" column="unit"></result>
</resultMap>
<!-- 查询条件-->
<sql id="Conditions">
<where>
<if test="id != null and id != ''">
and id = #{id}
</if>
<if test="esName != null and esName != ''">
and es_name like concat('%',#{esName},'%')
</if>
<if test="planStatus != null and planStatus != ''">
and plan_status = #{planStatus}
</if>
<if test="reviseStatus != null and reviseStatus != ''">
and revise_status = #{reviseStatus}
</if>
<if test="drafter != null and drafter != ''">
and drafter = #{drafter}
</if>
<if test="resPerson != null and resPerson != ''">
and res_person = #{resPerson}
</if>
<if test="wgLeader != null and wgLeader != ''">
and wg_leader = #{wgLeader}
</if>
<if test="draftTime != null">
and DATE_FORMAT(draft_time,'%Y-%m-%d')=DATE_FORMAT(#{draftTime},'%Y-%m-%d')
</if>
<if test="releaseTime != null">
and DATE_FORMAT(release_time,'%Y-%m-%d')=DATE_FORMAT(#{releaseTime},'%Y-%m-%d')
</if>
<if test="unit != null and unit != ''">
and unit like concat('%',#{unit},'%')
</if>
</where>
</sql>
<!-- 查询所有-->
<select id="selectAll" resultMap="BaseInfoMap" >
select <include refid="BaseInfo"></include> from es_revise_plan
</select>
<!-- 多条件查询-->
<select id="queryAll" parameterType="com.adc.da.slrs.esRevisePlan.entity.EsRevisePlan" resultMap="BaseInfoMap">
select <include refid="BaseInfo"></include> from es_revise_plan
<include refid="Conditions"></include>
</select>
<!-- 查询详情-->
<select id="selectOne" parameterType="java.lang.String" resultMap="BaseInfoMap">
select <include refid="BaseInfo"></include> from es_revise_plan
where id = #{id}
</select>
<!-- 修改-->
<update id="updateOne" parameterType="com.adc.da.slrs.esRevisePlan.entity.EsRevisePlan">
update es_revise_plan
<set>
<if test="id != null and id != ''">
id = #{id},
</if>
<if test="esName != null and esName != ''">
es_name = #{esName},
</if>
<if test="planStatus != null and planStatus != ''">
plan_status = #{planStatus},
</if>
<if test="reviseStatus != null and reviseStatus != ''">
revise_status = #{reviseStatus},
</if>
<if test="drafter != null and drafter != ''">
drafter = #{drafter},
</if>
<if test="resPerson != null and resPerson != ''">
res_person = #{resPerson},
</if>
<if test="wgLeader != null and wgLeader != ''">
wg_leader = #{wgLeader},
</if>
<if test="draftTime != null">
draft_time = #{draftTime},
</if>
<if test="releaseTime != null">
release_time = #{releaseTime},
</if>
<if test="unit != null and unit != ''">
unit = #{unit},
</if>
</set>
where id = #{id}
</update>
<!-- 插入一条数据-->
<insert id="insertOne" parameterType="com.adc.da.slrs.esRevisePlan.entity.EsRevisePlan">
insert into es_revise_plan
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">
id,
</if>
<if test="esName != null and esName != ''">
es_name,
</if>
<if test="planStatus != null and planStatus != ''">
plan_status,
</if>
<if test="reviseStatus != null and reviseStatus != ''">
revise_status,
</if>
<if test="drafter != null and drafter != ''">
drafter,
</if>
<if test="resPerson != null and resPerson != ''">
res_person,
</if>
<if test="wgLeader != null and wgLeader != ''">
wg_leader,
</if>
<if test="draftTime != null">
draft_time,
</if>
<if test="releaseTime != null">
release_time,
</if>
<if test="unit != null and unit != ''">
unit,
</if>
</trim>
values
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">
#{id},
</if>
<if test="esName != null and esName != ''">
#{esName},
</if>
<if test="planStatus != null and planStatus != ''">
#{planStatus},
</if>
<if test="reviseStatus != null and reviseStatus != ''">
#{reviseStatus},
</if>
<if test="drafter != null and drafter != ''">
#{drafter},
</if>
<if test="resPerson != null and resPerson != ''">
#{resPerson},
</if>
<if test="wgLeader != null and wgLeader != ''">
#{wgLeader},
</if>
<if test="draftTime != null">
#{draftTime},
</if>
<if test="releaseTime != null">
#{releaseTime},
</if>
<if test="unit != null and unit != ''">
#{unit},
</if>
</trim>
</insert>
<!-- 删除-->
<delete id="deleteOne" parameterType="java.lang.String">
delete from es_revise_plan where id = #{id}
</delete>
<!-- 批量删除-->
<delete id="deleteBatch" parameterType="java.lang.String">
delete from es_revise_plan where id in
<foreach collection="array" item="id" open="(" close=")" separator=",">
#{id}
</foreach>
</delete>
</mapper>
@@ -0,0 +1,148 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.adc.da.slrs.wgdCensusZ.dao.WgdAssocCostDao">
<!-- 基础信息-->
<sql id="BaseInfo">
id,sc_name,ssc_name,wg_name,pay_standard,pay_reality,cost_outlay,annual_payment
</sql>
<!-- 查询条件-->
<sql id="Conditions">
<where>
<if test="id != null and id != ''">
and id = #{id}
</if>
<if test="scName != null and scName != ''">
and sc_name like concat('%',#{scName},'%')
</if>
<if test="sscName != null and sscName != ''">
and ssc_name like concat('%',#{sscName},'%')
</if>
<if test="wgName != null and wgName != ''">
and wg_name like concat('%',#{wgName},'%')
</if>
<if test="payStandard != null and payStandard != ''">
and pay_standard = #{payStandard}
</if>
<if test="payReality != null and payReality != ''">
and pay_reality = #{payReality}
</if>
<if test="costOutlay != null and costOutlay != ''">
and cost_outlay = #{costOutlay}
</if>
<if test="annualPayment != null and annualPayment != ''">
and annual_payment = #{annualPayment}
</if>
</where>
</sql>
<!-- 查询所有-->
<select id="selectAll" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost">
select <include refid="BaseInfo"></include> from wgd_assoc_cost
</select>
<!-- 多条件查询-->
<select id="queryAll" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost">
select <include refid="BaseInfo"></include> from wgd_assoc_cost
<include refid="Conditions"></include>
</select>
<!-- 查询详情-->
<select id="selectOne" parameterType="java.lang.String" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost">
select <include refid="BaseInfo"></include> from wgd_assoc_cost
where id = #{id}
</select>
<!-- 修改-->
<update id="updateOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost">
update wgd_assoc_cost
<set>
<if test="scName != null and scName != ''">
sc_name = #{scName},
</if>
<if test="sscName != null and sscName != ''">
ssc_name = #{sscName},
</if>
<if test="wgName != null and wgName != ''">
wg_name = #{wgName},
</if>
<if test="payStandard != null and payStandard != ''">
pay_standard = #{payStandard},
</if>
<if test="payReality != null and payReality != ''">
pay_reality = #{payReality},
</if>
<if test="costOutlay != null and costOutlay != ''">
cost_outlay = #{costOutlay},
</if>
<if test="annualPayment != null and annualPayment != ''">
annual_payment = #{annualPayment},
</if>
</set>
where id = #{id}
</update>
<!-- 插入一条数据-->
<insert id="insertOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocCost">
insert into wgd_assoc_cost
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">
id,
</if>
<if test="scName != null and scName != ''">
sc_name,
</if>
<if test="sscName != null and sscName != ''">
ssc_name,
</if>
<if test="wgName != null and wgName != ''">
wg_name,
</if>
<if test="payStandard != null and payStandard != ''">
pay_standard,
</if>
<if test="payReality != null and payReality != ''">
pay_reality,
</if>
<if test="costOutlay != null and costOutlay != ''">
cost_outlay,
</if>
<if test="annualPayment != null and annualPayment != ''">
annual_payment,
</if>
</trim>
values
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">
#{id},
</if>
<if test="scName != null and scName != ''">
#{scName},
</if>
<if test="sscName != null and sscName != ''">
#{sscName},
</if>
<if test="wgName != null and wgName != ''">
#{wgName},
</if>
<if test="payStandard != null and payStandard != ''">
#{payStandard},
</if>
<if test="payReality != null and payReality != ''">
#{payReality},
</if>
<if test="costOutlay != null and costOutlay != ''">
#{costOutlay},
</if>
<if test="annualPayment != null and annualPayment != ''">
#{annualPayment},
</if>
</trim>
</insert>
<!-- 删除-->
<delete id="deleteOne" parameterType="java.lang.String">
delete from wgd_assoc_cost where id = #{id}
</delete>
<!-- 批量删除-->
<delete id="deleteBatch" parameterType="java.lang.String">
delete from wgd_assoc_cost where id in
<foreach collection="array" item="id" open="(" close=")" separator=",">
#{id}
</foreach>
</delete>
</mapper>
@@ -0,0 +1,456 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.adc.da.slrs.wgdCensusZ.dao.WgdAssocInfoDao">
<sql id="BaseInfo">
id,sc_name,ssc_name,wg_name,role,attend,standard,charge,leader,ini_time,
cur_time,cost_standard,cost_outlay,last_pay_time,pay_period,handler,
department,as_proper,as_status,as_contact,tel,mail,
p17,p18,p19,p20,p21,p22,p23,p34,p25,p26,p27,p28,p29,p30,p31,p32
</sql>
<sql id="Conditions">
<where>
<if test="id != null and id != ''">
and id = #{id}
</if>
<if test="scName != null and scName != ''">
and sc_name like concat('%',#{scName},'%')
</if>
<if test="sscName != null and sscName != ''">
and ssc_name like concat('%',#{sscName},'%')
</if>
<if test="wgName != null and wgName != ''">
and wg_name like concat('%',#{wgName},'%')
</if>
<if test="role != null and role != ''">
and role = #{role}
</if>
<if test="attend != null and attend != ''">
and attend = #{attend}
</if>
<if test="standard != null and standard != ''">
and standard = #{standard}
</if>
<if test="charge != null and charge != ''">
and charge = #{charge}
</if>
<if test="leader != null and leader != ''">
and leader = #{leader}
</if>
<if test="iniTime != null">
and ini_time = #{iniTime}
</if>
<if test="curTime != null">
and cur_time = #{curTime}
</if>
<if test="costStandard != null and costStandard != ''">
and cost_standard = #{costStandard}
</if>
<if test="costOutlay != null and costOutlay != ''">
and cost_outlay = #{costOutlay}
</if>
<if test="lastPayTime != null">
and last_pay_time = #{lastPayTime}
</if>
<if test="payPeriod != null and payPeriod != ''">
and pay_period = #{payPeriod}
</if>
<if test="handler != null and handler != ''">
and handler = #{handler}
</if>
<if test="department != null and department != ''">
and department = #{department}
</if>
<if test="asProper != null and asProper != ''">
and as_proper = #{asProper}
</if>
<if test="asStatus != null and asStatus != ''">
and as_status = #{asStatus}
</if>
<if test="asContact != null and asContact != ''">
and as_contact = #{asContact}
</if>
<if test="tel != null and tel != ''">
and tel = #{tel}
</if>
<if test="mail != null and mail != ''">
and mail = #{mail}
</if>
</where>
</sql>
<select id="selectAll" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo">
select <include refid="BaseInfo"></include> from wgd_assoc_info
</select>
<select id="queryAll" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo">
select <include refid="BaseInfo"></include> from wgd_assoc_info
<include refid="Conditions"></include>
</select>
<select id="selectOne" parameterType="java.lang.String" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo">
select <include refid="BaseInfo"></include> from wgd_assoc_info
where id = #{id}
</select>
<update id="updateOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo">
update wgd_assoc_info
<set>
<if test="scName != null and scName != ''">
sc_name = #{scName},
</if>
<if test="sscName != null and sscName != ''">
ssc_name = #{sscName},
</if>
<if test="wgName != null and wgName != ''">
wg_name = #{wgName},
</if>
<if test="role != null and role != ''">
role = #{role},
</if>
<if test="attend != null and attend != ''">
attend = #{attend},
</if>
<if test="standard != null and standard != ''">
standard = #{standard},
</if>
<if test="charge != null and charge != ''">
charge = #{charge},
</if>
<if test="leader != null and leader != ''">
leader = #{leader},
</if>
<if test="iniTime != null">
ini_time = #{iniTime},
</if>
<if test="curTime != null">
cur_time = #{curTime},
</if>
<if test="costStandard != null and costStandard != ''">
cost_standard = #{costStandard},
</if>
<if test="costOutlay != null and costOutlay != ''">
cost_outlay = #{costOutlay},
</if>
<if test="lastPayTime != null">
last_pay_time = #{lastPayTime},
</if>
<if test="payPeriod != null and payPeriod != ''">
pay_period = #{payPeriod},
</if>
<if test="handler != null and handler != ''">
handler = #{handler},
</if>
<if test="department != null and department != ''">
department = #{department},
</if>
<if test="asProper != null and asProper != ''">
as_proper = #{asProper},
</if>
<if test="asStatus != null and asStatus != ''">
as_status = #{asStatus},
</if>
<if test="asContact != null and asContact != ''">
as_contact = #{asContact},
</if>
<if test="tel != null and tel != ''">
tel = #{tel},
</if>
<if test="mail != null and mail != ''">
mail = #{mail},
</if>
<if test="p17 != null and p17 != ''">
p17 = #{p17},
</if>
<if test="p18 != null and p18 != ''">
p18 = #{p18},
</if>
<if test="p19 != null and p19 != ''">
p19 = #{p19},
</if>
<if test="p20 != null and p20 != ''">
p20 = #{p20},
</if>
<if test="p21 != null and p21 != ''">
p21 = #{p21},
</if>
<if test="p22 != null and p22 != ''">
p22 = #{p22},
</if>
<if test="p23 != null and p23 != ''">
p23 = #{p23},
</if>
<if test="p24 != null and p24 != ''">
p24 = #{p24},
</if>
<if test="p25 != null and p25 != ''">
p25 = #{p25},
</if>
<if test="p26 != null and p26 != ''">
p26 = #{p26},
</if>
<if test="p27 != null and p27 != ''">
p27 = #{p27},
</if>
<if test="p28 != null and p28 != ''">
p28 = #{p28},
</if>
<if test="p29 != null and p29 != ''">
p29 = #{p29},
</if>
<if test="p30 != null and p30 != ''">
p30 = #{p30},
</if>
<if test="p31 != null and p31 != ''">
p31 = #{p31},
</if>
<if test="p32 != null and p32 != ''">
p32 = #{p32},
</if>
</set>
where id = #{id}
</update>
<insert id="insertOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo">
insert into wgd_assoc_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">
id,
</if>
<if test="scName != null and scName != ''">
sc_name,
</if>
<if test="sscName != null and sscName != ''">
ssc_name,
</if>
<if test="wgName != null and wgName != ''">
wg_name,
</if>
<if test="role != null and role != ''">
role,
</if>
<if test="attend != null and attend != ''">
attend,
</if>
<if test="standard != null and standard != ''">
standard,
</if>
<if test="charge != null and charge != ''">
charge,
</if>
<if test="leader != null and leader != ''">
leader,
</if>
<if test="iniTime != null">
ini_time,
</if>
<if test="curTime != null">
cur_time,
</if>
<if test="costStandard != null and costStandard != ''">
cost_standard,
</if>
<if test="costOutlay != null and costOutlay != ''">
cost_outlay,
</if>
<if test="lastPayTime != null">
last_pay_time,
</if>
<if test="payPeriod != null and payPeriod != ''">
pay_period,
</if>
<if test="handler != null and handler != ''">
handler,
</if>
<if test="department != null and department != ''">
department,
</if>
<if test="asProper != null and asProper != ''">
as_proper,
</if>
<if test="asStatus != null and asStatus != ''">
as_status,
</if>
<if test="asContact != null and asContact != ''">
as_contact,
</if>
<if test="tel != null and tel != ''">
tel,
</if>
<if test="mail != null and mail != ''">
mail,
</if>
<if test="p17 != null and p17 != ''">
p17,
</if>
<if test="p18 != null and p18 != ''">
p18,
</if>
<if test="p19 != null and p19 != ''">
p19,
</if>
<if test="p20 != null and p20 != ''">
p20,
</if>
<if test="p21 != null and p21 != ''">
p21,
</if>
<if test="p22 != null and p22 != ''">
p22,
</if>
<if test="p23 != null and p23 != ''">
p23,
</if>
<if test="p24 != null and p24 != ''">
p24,
</if>
<if test="p25 != null and p25 != ''">
p25,
</if>
<if test="p26 != null and p26 != ''">
p26,
</if>
<if test="p27 != null and p27 != ''">
p27,
</if>
<if test="p28 != null and p28 != ''">
p28,
</if>
<if test="p29 != null and p29 != ''">
p29,
</if>
<if test="p30 != null and p30 != ''">
p30,
</if>
<if test="p31 != null and p31 != ''">
p31,
</if>
<if test="p32 != null and p32 != ''">
p32,
</if>
</trim>
values
<trim suffixOverrides="," suffix=")" prefix="(">
<if test="id != null and id != ''">
#{id},
</if>
<if test="scName != null and scName != ''">
#{scName},
</if>
<if test="sscName != null and sscName != ''">
#{sscName},
</if>
<if test="wgName != null and wgName != ''">
#{wgName},
</if>
<if test="role != null and role != ''">
#{role},
</if>
<if test="attend != null and attend != ''">
#{attend},
</if>
<if test="standard != null and standard != ''">
#{standard},
</if>
<if test="charge != null and charge != ''">
#{charge},
</if>
<if test="leader != null and leader != ''">
#{leader},
</if>
<if test="iniTime != null">
#{iniTime},
</if>
<if test="curTime != null">
#{curTime},
</if>
<if test="costStandard != null and costStandard != ''">
#{costStandard},
</if>
<if test="costOutlay != null and costOutlay != ''">
#{costOutlay},
</if>
<if test="lastPayTime != null">
#{lastPayTime},
</if>
<if test="payPeriod != null and payPeriod != ''">
#{payPeriod},
</if>
<if test="handler != null and handler != ''">
#{handler},
</if>
<if test="department != null and department != ''">
#{department},
</if>
<if test="asProper != null and asProper != ''">
#{asProper},
</if>
<if test="asStatus != null and asStatus != ''">
#{asStatus},
</if>
<if test="asContact != null and asContact != ''">
#{asContact},
</if>
<if test="tel != null and tel != ''">
#{tel},
</if>
<if test="mail != null and mail != ''">
#{mail},
</if>
<if test="p17 != null and p17 != ''">
#{p17},
</if>
<if test="p18 != null and p18 != ''">
#{p18},
</if>
<if test="p19 != null and p19 != ''">
#{p19},
</if>
<if test="p20 != null and p20 != ''">
#{p20},
</if>
<if test="p21 != null and p21 != ''">
#{p21},
</if>
<if test="p22 != null and p22 != ''">
#{p22},
</if>
<if test="p23 != null and p23 != ''">
#{p23},
</if>
<if test="p24 != null and p24 != ''">
#{p24},
</if>
<if test="p25 != null and p25 != ''">
#{p25},
</if>
<if test="p26 != null and p26 != ''">
#{p26},
</if>
<if test="p27 != null and p27 != ''">
#{p27},
</if>
<if test="p28 != null and p28 != ''">
#{p28},
</if>
<if test="p29 != null and p29 != ''">
#{p29},
</if>
<if test="p30 != null and p30 != ''">
#{p30},
</if>
<if test="p31 != null and p31 != ''">
#{p31},
</if>
<if test="p32 != null and p32 != ''">
#{p32},
</if>
</trim>
</insert>
<delete id="deleteOne" parameterType="java.lang.String">
delete from wgd_assoc_info where id = #{id}
</delete>
<delete id="deleteBatch" parameterType="java.lang.String">
delete from wgd_assoc_info where id in
<foreach item="id" collection="array" open="(" close=")" separator=",">
#{id}
</foreach>
</delete>
</mapper>
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.adc.da.slrs.wgdCensusZ.dao.WgdCommiInfoDao">
<sql id="BaseInfo">
id,unit,sc_name,ssc_name,wg_name,role,attend,cur_time,job,department,
tel,term,certificate,account,password,remark
</sql>
<sql id="Conditions">
</sql>
<select id="selectAll" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo">
select <include refid="BaseInfo"></include> from wgd_commi_info
</select>
<select id="queryAll" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo">
select <include refid="BaseInfo"></include> from wgd_commi_info
<include refid="Conditions"></include>
</select>
<select id="selectOne" parameterType="java.lang.String" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo">
select <include refid="BaseInfo"></include> from wgd_commi_info
where id = #{id}
</select>
<update id="updateOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo">
</update>
<insert id="insertOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo">
</insert>
<delete id="deleteOne" parameterType="java.lang.String">
</delete>
<delete id="deleteBatch">
</delete>
</mapper>
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.adc.da.slrs.wgdCensusZ.dao.WgdExReviseCostDao">
<sql id="BaseInfo">
id,type,pro_id,pro_name,cost_outlay,cost
</sql>
<sql id="Conditions">
</sql>
<select id="selectAll" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost">
select <include refid="BaseInfo"></include> from wgd_ex_revise_cost
</select>
<select id="queryAll" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost">
select <include refid="BaseInfo"></include> from wgd_ex_revise_cost
<include refid="Conditions"></include>
</select>
<select id="selectOne" parameterType="java.lang.String" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost">
select <include refid="BaseInfo"></include> from wgd_ex_revise_cost
where id = #{id}
</select>
<update id="updateOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost">
</update>
<insert id="insertOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost">
</insert>
<delete id="deleteOne" parameterType="java.lang.String">
</delete>
<delete id="deleteBatch">
</delete>
</mapper>
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.adc.da.slrs.wgdCensusZ.dao.WgdMeetCostDao">
<sql id="BaseInfo">
id,unit,meet_name,meet_time,pay_standard,pay_reality,cost_outlay
</sql>
<sql id="Conditions">
</sql>
<select id="selectAll" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost">
select <include refid="BaseInfo"></include> from wgd_meet_cost
</select>
<select id="queryAll" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost">
select <include refid="BaseInfo"></include> from wgd_meet_cost
<include refid="Conditions"></include>
</select>
<select id="selectOne" parameterType="java.lang.String" resultType="com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost">
select <include refid="BaseInfo"></include> from wgd_meet_cost
where id = #{id}
</select>
<update id="updateOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost">
</update>
<insert id="insertOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost">
</insert>
<delete id="deleteOne" parameterType="java.lang.String">
</delete>
<delete id="deleteBatch">
</delete>
</mapper>