|
@@ -12703,11 +12703,11 @@ public class ReportServiceImpl extends ServiceImpl<ReportMapper, Report> impleme
|
|
|
|
|
|
if (reportList.size() > 0) {
|
|
|
int shouldSkipPassData = 0;
|
|
|
- if (timeType.getImportReportAuditNormal() == 1) {
|
|
|
- shouldSkipPassData = 1;
|
|
|
- } else {
|
|
|
- shouldSkipPassData = timeType.getNeedDeptAudit();
|
|
|
- }
|
|
|
+// if (timeType.getImportReportAuditNormal() == 1) {
|
|
|
+// shouldSkipPassData = 1;
|
|
|
+// } else {
|
|
|
+// shouldSkipPassData = timeType.getNeedDeptAudit();
|
|
|
+// }
|
|
|
//依赖于对是否需要部门审核的判断,如果不需要则认为导入的就是审核通过的,重新导入就直接覆盖之前的。
|
|
|
reportMapper.deleteUserSameDayReport(companyId, reportList, shouldSkipPassData);
|
|
|
if (shouldSkipPassData == 1) {
|