zcr:数据信息统计表- +注释
This commit is contained in:
+5
@@ -5,6 +5,7 @@ import com.adc.da.http.PageInfo;
|
||||
import com.adc.da.http.ResponseMessage;
|
||||
import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.wgdCensusZ.service.IWgdAssocInfoService;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.adc.da.slrs.wgdCensusZ.entity.WgdAssocInfo;
|
||||
@@ -33,6 +34,7 @@ public class WgdAssocInfoController extends BaseController<WgdAssocInfo> {
|
||||
return Result.success(iWgdAssocInfoService.getAllWgdAssocInfos());
|
||||
}
|
||||
|
||||
@ApiOperation("查询")
|
||||
@GetMapping("queryAllAssocInfos")
|
||||
public ResponseMessage<Object> queryAllWgdAssocInfos(WgdAssocInfo wgdAssocInfo){//多条件查询
|
||||
List<WgdAssocInfo> wgdAssocInfos = iWgdAssocInfoService.queryAllWgdAssocInfos(wgdAssocInfo);
|
||||
@@ -45,11 +47,13 @@ public class WgdAssocInfoController extends BaseController<WgdAssocInfo> {
|
||||
return Result.success(iWgdAssocInfoService.getWgdAssocInfoById(id));
|
||||
}
|
||||
|
||||
@ApiOperation("更改")
|
||||
@PostMapping("modAssocInfo")
|
||||
ResponseMessage<Object> updateWgdAssocInfo(WgdAssocInfo WgdAssocInfo) {//编辑
|
||||
return Result.success(iWgdAssocInfoService.updateWgdAssocInfo(WgdAssocInfo));
|
||||
}
|
||||
|
||||
@ApiOperation("添加")
|
||||
@PostMapping("addAssocInfo")
|
||||
ResponseMessage<Object> insertWgdAssocInfo(WgdAssocInfo WgdAssocInfo) {//插入
|
||||
return Result.success(iWgdAssocInfoService.insertWgdAssocInfo(WgdAssocInfo));
|
||||
@@ -60,6 +64,7 @@ public class WgdAssocInfoController extends BaseController<WgdAssocInfo> {
|
||||
return Result.success(iWgdAssocInfoService.deleteWgdAssocInfo(id));
|
||||
}
|
||||
|
||||
@ApiOperation("删除")
|
||||
@PostMapping("delAssocInfos")
|
||||
ResponseMessage<Object> deleteWgdAssocInfos(String ids){//批量删除
|
||||
return Result.success(iWgdAssocInfoService.deleteWgdAssocInfos(ids));
|
||||
|
||||
+5
@@ -6,6 +6,7 @@ import com.adc.da.http.ResponseMessage;
|
||||
import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.wgdCensusZ.entity.WgdCommiInfo;
|
||||
import com.adc.da.slrs.wgdCensusZ.service.IWgdCommiInfoService;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
@@ -33,6 +34,7 @@ public class WgdCommiInfoController extends BaseController<WgdCommiInfo> {
|
||||
return Result.success(iWgdCommiInfoService.getAllWgdCommiInfos());
|
||||
}
|
||||
|
||||
@ApiOperation("查询")
|
||||
@GetMapping("queryAllCommiInfos")
|
||||
public ResponseMessage<Object> queryAllWgdCommiInfos(WgdCommiInfo wgdCommiInfo){//多条件查询
|
||||
List<WgdCommiInfo> wgdCommiInfos = iWgdCommiInfoService.queryAllWgdCommiInfos(wgdCommiInfo);
|
||||
@@ -45,11 +47,13 @@ public class WgdCommiInfoController extends BaseController<WgdCommiInfo> {
|
||||
return Result.success(iWgdCommiInfoService.getWgdCommiInfoById(id));
|
||||
}
|
||||
|
||||
@ApiOperation("更新")
|
||||
@PostMapping("modCommiInfo")
|
||||
ResponseMessage<Object> updateWgdCommiInfo(WgdCommiInfo WgdCommiInfo) {//编辑
|
||||
return Result.success(iWgdCommiInfoService.updateWgdCommiInfo(WgdCommiInfo));
|
||||
}
|
||||
|
||||
@ApiOperation("添加")
|
||||
@PostMapping("addCommiInfo")
|
||||
ResponseMessage<Object> insertWgdCommiInfo(WgdCommiInfo WgdCommiInfo) {//插入
|
||||
return Result.success(iWgdCommiInfoService.insertWgdCommiInfo(WgdCommiInfo));
|
||||
@@ -60,6 +64,7 @@ public class WgdCommiInfoController extends BaseController<WgdCommiInfo> {
|
||||
return Result.success(iWgdCommiInfoService.deleteWgdCommiInfo(id));
|
||||
}
|
||||
|
||||
@ApiOperation("删除")
|
||||
@PostMapping("delCommiInfos")
|
||||
ResponseMessage<Object> deleteWgdCommiInfos(String ids){//批量删除
|
||||
return Result.success(iWgdCommiInfoService.deleteWgdCommiInfos(ids));
|
||||
|
||||
+5
@@ -6,6 +6,7 @@ import com.adc.da.http.ResponseMessage;
|
||||
import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.wgdCensusZ.entity.WgdExReviseCost;
|
||||
import com.adc.da.slrs.wgdCensusZ.service.IWgdExReviseCostService;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
@@ -33,6 +34,7 @@ public class WgdExReviseCostController extends BaseController<WgdExReviseCost> {
|
||||
return Result.success(iWgdExReviseCostService.getAllWgdExReviseCosts());
|
||||
}
|
||||
|
||||
@ApiOperation("查询")
|
||||
@GetMapping("queryAllExReviseCosts")
|
||||
public ResponseMessage<Object> queryAllWgdExReviseCosts(WgdExReviseCost wgdExReviseCost){//多条件查询
|
||||
List<WgdExReviseCost> wgdExReviseCosts = iWgdExReviseCostService.queryAllWgdExReviseCosts(wgdExReviseCost);
|
||||
@@ -45,11 +47,13 @@ public class WgdExReviseCostController extends BaseController<WgdExReviseCost> {
|
||||
return Result.success(iWgdExReviseCostService.getWgdExReviseCostById(id));
|
||||
}
|
||||
|
||||
@ApiOperation("更改")
|
||||
@PutMapping("modExReviseCost")
|
||||
ResponseMessage<Object> updateWgdExReviseCost(WgdExReviseCost WgdExReviseCost) {//编辑
|
||||
return Result.success(iWgdExReviseCostService.updateWgdExReviseCost(WgdExReviseCost));
|
||||
}
|
||||
|
||||
@ApiOperation("插入")
|
||||
@PostMapping("addExReviseCost")
|
||||
ResponseMessage<Object> insertWgdExReviseCost(WgdExReviseCost WgdExReviseCost) {//插入
|
||||
return Result.success(iWgdExReviseCostService.insertWgdExReviseCost(WgdExReviseCost));
|
||||
@@ -60,6 +64,7 @@ public class WgdExReviseCostController extends BaseController<WgdExReviseCost> {
|
||||
return Result.success(iWgdExReviseCostService.deleteWgdExReviseCost(id));
|
||||
}
|
||||
|
||||
@ApiOperation("删除")
|
||||
@DeleteMapping("delExReviseCosts")
|
||||
ResponseMessage<Object> deleteWgdExReviseCosts(String ids){//批量删除
|
||||
return Result.success(iWgdExReviseCostService.deleteWgdExReviseCosts(ids));
|
||||
|
||||
+5
@@ -6,6 +6,7 @@ import com.adc.da.http.ResponseMessage;
|
||||
import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost;
|
||||
import com.adc.da.slrs.wgdCensusZ.service.IWgdMeetCostService;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
@@ -27,22 +28,26 @@ public class WgdMeetCostController extends BaseController<WgdMeetCost> {
|
||||
@Autowired
|
||||
IWgdMeetCostService iWgdMeetCostService;
|
||||
|
||||
@ApiOperation("查询")
|
||||
@GetMapping("queryAllMeetCosts")
|
||||
public ResponseMessage<Object> queryAllWgdMeetCosts(WgdMeetCost wgdMeetCost){//多条件查询
|
||||
PageInfo pageInfo = getPageInfo(wgdMeetCost.getPager(),iWgdMeetCostService.queryAllWgdMeetCosts(wgdMeetCost));
|
||||
return Result.success(pageInfo);
|
||||
}
|
||||
|
||||
@ApiOperation("更新")
|
||||
@PutMapping("modMeetCost")
|
||||
ResponseMessage<Object> updateWgdMeetCost(WgdMeetCost WgdMeetCost) {//编辑
|
||||
return Result.success(iWgdMeetCostService.updateWgdMeetCost(WgdMeetCost));
|
||||
}
|
||||
|
||||
@ApiOperation("添加")
|
||||
@PostMapping("addMeetCost")
|
||||
ResponseMessage<Object> insertWgdMeetCost(WgdMeetCost WgdMeetCost) {//插入
|
||||
return Result.success(iWgdMeetCostService.insertWgdMeetCost(WgdMeetCost));
|
||||
}
|
||||
|
||||
@ApiOperation("删除")
|
||||
@DeleteMapping("delMeetCosts")
|
||||
ResponseMessage<Object> deleteWgdMeetCosts(String ids){//批量删除
|
||||
return Result.success(iWgdMeetCostService.deleteWgdMeetCosts(ids));
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
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
|
||||
p17,p18,p19,p20,p21,p22,p23,p24,p25,p26,p27,p28,p29,p30,p31,p32
|
||||
</sql>
|
||||
<sql id="Conditions">
|
||||
WHERE 1=1
|
||||
@@ -88,6 +88,7 @@
|
||||
<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>
|
||||
@@ -97,7 +98,7 @@
|
||||
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>
|
||||
@@ -215,6 +216,7 @@
|
||||
</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=",">
|
||||
@@ -454,6 +456,7 @@
|
||||
<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=",">
|
||||
|
||||
Reference in New Issue
Block a user