问题修复
This commit is contained in:
parent
434a330191
commit
bab678f32d
|
|
@ -581,7 +581,7 @@ public class PoiOutPage {
|
||||||
* 丢失费用明细
|
* 丢失费用明细
|
||||||
*/
|
*/
|
||||||
// 填充标题行
|
// 填充标题行
|
||||||
rowNum = createTitleRowStyleCost(sheet, rowNum, "丢失费用明细", titleStyle, listLose.size());
|
rowNum = createTitleRowStyleCost(sheet, rowNum, "未归还费用明细", titleStyle, listLose.size());
|
||||||
// 填充表头
|
// 填充表头
|
||||||
rowNum = createHeaderRow(sheet, rowNum, listLose, headerStyle);
|
rowNum = createHeaderRow(sheet, rowNum, listLose, headerStyle);
|
||||||
// 填充数据行
|
// 填充数据行
|
||||||
|
|
|
||||||
|
|
@ -246,7 +246,7 @@ public class ClzSltAgreementInfoController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "导出材料站结算信息列表")
|
@ApiOperation(value = "导出材料站结算信息列表")
|
||||||
@PreventRepeatSubmit
|
@PreventRepeatSubmit
|
||||||
@SysLog(title = "结算信息", businessType = OperaType.EXPORT, logType = 1,module = "结算管理->导出材料站租赁明细")
|
@SysLog(title = "结算信息", businessType = OperaType.EXPORT, logType = 1,module = "结算管理->导出材料站丢失明细")
|
||||||
@PostMapping("/exportLose")
|
@PostMapping("/exportLose")
|
||||||
public void exportLose(HttpServletResponse response, @RequestParam("params") String params) {
|
public void exportLose(HttpServletResponse response, @RequestParam("params") String params) {
|
||||||
try {
|
try {
|
||||||
|
|
@ -330,7 +330,7 @@ public class ClzSltAgreementInfoController extends BaseController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
String fileName = "丢失费用明细表";
|
String fileName = "未归还费用明细表";
|
||||||
String projectName = handleData(projectNames);
|
String projectName = handleData(projectNames);
|
||||||
String unitName = handleData(unitNames);
|
String unitName = handleData(unitNames);
|
||||||
String actualTimeAndName = handleData(actualTimeAndNames);
|
String actualTimeAndName = handleData(actualTimeAndNames);
|
||||||
|
|
@ -878,7 +878,7 @@ public class ClzSltAgreementInfoController extends BaseController {
|
||||||
list.add("计量单位");
|
list.add("计量单位");
|
||||||
list.add("丢失数量");
|
list.add("丢失数量");
|
||||||
list.add("原值(元)");
|
list.add("原值(元)");
|
||||||
list.add("丢失费用(元)");
|
list.add("未归还费用(元)");
|
||||||
}else{
|
}else{
|
||||||
list.add("单位名称");
|
list.add("单位名称");
|
||||||
list.add("设备名称");
|
list.add("设备名称");
|
||||||
|
|
@ -886,7 +886,7 @@ public class ClzSltAgreementInfoController extends BaseController {
|
||||||
list.add("计量单位");
|
list.add("计量单位");
|
||||||
list.add("丢失数量");
|
list.add("丢失数量");
|
||||||
list.add("原值(元)");
|
list.add("原值(元)");
|
||||||
list.add("丢失费用(元)");
|
list.add("未归还费用(元)");
|
||||||
list.add(" ");
|
list.add(" ");
|
||||||
list.add(" ");
|
list.add(" ");
|
||||||
list.add(" ");
|
list.add(" ");
|
||||||
|
|
|
||||||
|
|
@ -364,6 +364,7 @@
|
||||||
left join sys_dept sd on sd.dept_id = bp.imp_unit
|
left join sys_dept sd on sd.dept_id = bp.imp_unit
|
||||||
WHERE
|
WHERE
|
||||||
1=1
|
1=1
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
and sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
and sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
|
|
@ -575,6 +575,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</if>
|
</if>
|
||||||
where
|
where
|
||||||
1=1
|
1=1
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
and sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
and sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -1252,6 +1253,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
JOIN ma_type_keeper mtk ON mtk.type_id = lpd.type_id AND mtk.user_id = #{userId}
|
JOIN ma_type_keeper mtk ON mtk.type_id = lpd.type_id AND mtk.user_id = #{userId}
|
||||||
</if>
|
</if>
|
||||||
where 1 = 1
|
where 1 = 1
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
and sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
and sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
|
|
@ -788,6 +788,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
AND mm.ma_status = 2
|
AND mm.ma_status = 2
|
||||||
AND sai.ma_id IS NOT NULL
|
AND sai.ma_id IS NOT NULL
|
||||||
AND mt2.type_id not in (6032,6008,6270,6012,6761)
|
AND mt2.type_id not in (6032,6008,6270,6012,6761)
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
and sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
and sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -868,6 +869,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
AND bz.bzmc = bu.unit_name
|
AND bz.bzmc = bu.unit_name
|
||||||
WHERE
|
WHERE
|
||||||
sai.`status` = 0 and bu.type_id = 1731 and bp.pro_id is not null
|
sai.`status` = 0 and bu.type_id = 1731 and bp.pro_id is not null
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="keyWord != null and keyWord != ''">
|
<if test="keyWord != null and keyWord != ''">
|
||||||
and (
|
and (
|
||||||
bu.unit_name like concat('%',#{keyWord},'%') or
|
bu.unit_name like concat('%',#{keyWord},'%') or
|
||||||
|
|
@ -1334,6 +1336,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
AND bp.external_id IS NOT NULL
|
AND bp.external_id IS NOT NULL
|
||||||
AND bu.type_id = 36
|
AND bu.type_id = 36
|
||||||
and sd.dept_id not in (342,345,347,348,101)
|
and sd.dept_id not in (342,345,347,348,101)
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
AND sd.dept_name = #{impUnitName}
|
AND sd.dept_name = #{impUnitName}
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -1406,6 +1409,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
AND sai.end_time IS NULL
|
AND sai.end_time IS NULL
|
||||||
AND sai.back_id IS NULL
|
AND sai.back_id IS NULL
|
||||||
and sd.dept_id not in (342,345,347,348,101)
|
and sd.dept_id not in (342,345,347,348,101)
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
AND sd.dept_name like concat('%',#{impUnitName},'%')
|
AND sd.dept_name like concat('%',#{impUnitName},'%')
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -1500,6 +1504,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
AND bu.unit_name is not null
|
AND bu.unit_name is not null
|
||||||
AND bp.external_id is not NULL
|
AND bp.external_id is not NULL
|
||||||
and sd.dept_id not in (342,345,347,348,101)
|
and sd.dept_id not in (342,345,347,348,101)
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
AND sd.dept_name = #{impUnitName}
|
AND sd.dept_name = #{impUnitName}
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -1611,7 +1616,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
LEFT JOIN sbd_audit.sg_project_department sp ON sd.company_code = sp.parent_id
|
LEFT JOIN sbd_audit.sg_project_department sp ON sd.company_code = sp.parent_id
|
||||||
WHERE
|
WHERE
|
||||||
sp.`name` IS NOT NULL
|
sp.`name` IS NOT NULL
|
||||||
and sp.`name` not in ('第一项目管理部(金上)','第十项目管理部(川渝)')
|
and sp.`name` not in ('第一项目管理部(金上)','第十项目管理部(川渝)','第十项目管理部','运维管理部(2023年度合肥公司220kV输电线路线路瓷绝缘子清扫与检测)')
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
AND sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
AND sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -1651,7 +1656,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
WHERE
|
WHERE
|
||||||
bp.pro_center IS NOT NULL
|
bp.pro_center IS NOT NULL
|
||||||
AND bp.external_id IS NOT NULL
|
AND bp.external_id IS NOT NULL
|
||||||
and bp.pro_id not in (3414,1192)
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
AND sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
AND sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -2046,6 +2051,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
WHERE
|
WHERE
|
||||||
sai.is_slt = '0'
|
sai.is_slt = '0'
|
||||||
AND bp.external_id IS NOT NULL
|
AND bp.external_id IS NOT NULL
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
AND sd.dept_name = #{impUnitName}
|
AND sd.dept_name = #{impUnitName}
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -2120,6 +2126,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
sai.`status` = '0'
|
sai.`status` = '0'
|
||||||
AND sai.end_time IS NULL
|
AND sai.end_time IS NULL
|
||||||
AND sai.back_id IS NULL
|
AND sai.back_id IS NULL
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
AND sd.dept_name = #{impUnitName}
|
AND sd.dept_name = #{impUnitName}
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -2381,6 +2388,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
AND sai.back_id IS NULL
|
AND sai.back_id IS NULL
|
||||||
AND bp.external_id IS NOT NULL
|
AND bp.external_id IS NOT NULL
|
||||||
AND bu.type_id in(32,33)
|
AND bu.type_id in(32,33)
|
||||||
|
and bp.pro_id not in (3414,1192,3321,3595)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
AND sd.dept_name = #{impUnitName}
|
AND sd.dept_name = #{impUnitName}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue