大屏页面调试
This commit is contained in:
parent
187f1742b0
commit
c1f55991eb
|
|
@ -20,6 +20,9 @@ public class ParamsDto {
|
|||
/** 结束日期*/
|
||||
private String endDate;
|
||||
|
||||
/** 结束日期*/
|
||||
private String date;
|
||||
|
||||
/**
|
||||
* 类型 验收1 入库2
|
||||
* */
|
||||
|
|
|
|||
|
|
@ -454,6 +454,7 @@ public class LargeScreenServiceImpl implements ILargeScreenService {
|
|||
dto.setType("1");
|
||||
dto.setStartDate(DateTimeHelper.getFisrtDayOfMonth(Integer.parseInt(year), Integer.parseInt(month)));
|
||||
dto.setEndDate(DateTimeHelper.getLastDayOfMonth(Integer.parseInt(year), Integer.parseInt(month)));
|
||||
dto.setDate(year + "-" + month);
|
||||
List<Map<String, String>> checkList = mapper.getAcceptanceStorage(dto);
|
||||
valueList.add(commonUtil.totalValue(checkList, dto.getMaType()));
|
||||
// 入库数量
|
||||
|
|
|
|||
|
|
@ -52,7 +52,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
LEFT JOIN purchase_check_details pcd ON pci.task_id = pcd.task_id
|
||||
LEFT JOIN ma_type mt ON pcd.type_id = mt.type_id AND mt.`level` = '4'
|
||||
LEFT JOIN sys_dept sd ON sd.dept_id = mt.company_id
|
||||
WHERE pci.arrival_time BETWEEN CONCAT(#{startDate}, ' 00:00:00') AND CONCAT(#{endDate}, ' 23:59:59')
|
||||
WHERE DATE_FORMAT(pci.arrival_time, '%Y-%m') = #{date}
|
||||
AND mt.del_flag = '0'
|
||||
<if test="maType!=null and maType == 1">
|
||||
AND sd.dept_name = #{maTypeName}
|
||||
</if>
|
||||
|
|
@ -68,6 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
LEFT JOIN ma_type mt ON iad.type_id = mt.type_id AND mt.`level` = '4'
|
||||
LEFT JOIN sys_dept sd ON sd.dept_id = mt.company_id
|
||||
WHERE iad.create_time BETWEEN CONCAT(#{startDate}, ' 00:00:00') AND CONCAT(#{endDate}, ' 23:59:59') AND iad.input_type = '1'
|
||||
AND mt.del_flag = '0'
|
||||
<if test="maType!=null and maType == 1">
|
||||
AND sd.dept_name = #{maTypeName}
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue