*
* @author robert
- * @since 2021-06-25
+ * @since 2021-07-05
*/
@Service
@Transactional(rollbackFor = Exception.class)
public class AbnormalBillServiceImpl extends ServiceImpl implements AbnormalBillService {
+
@Autowired
private AbnormalBillMapper abnormalBillMapper;
@@ -64,7 +69,6 @@ public class AbnormalBillServiceImpl extends ServiceImpl selectPage(FrontPage frontPage, AbnormalBill abnormalBill) {
QueryWrapper queryWrapper = new QueryWrapper<>();
@@ -153,6 +157,12 @@ public class AbnormalBillServiceImpl extends ServiceImpl backLog(AbnormalBillDto abnormalBillDto) {
+ String language = LocaleContextHolder.getLocale().getLanguage();
+ return abnormalBillMapper.backLog(abnormalBillDto, language);
+
+ }
@Override
public void generateAbnormalBill(AbnormalBill abnormalBill, AbnormalBillDispose abnormalBillDispose,List dutyCauseType,List dutyType) {
@@ -234,7 +244,7 @@ public class AbnormalBillServiceImpl extends ServiceImpl
-
+
@@ -36,14 +36,21 @@
-
+
+
+
+
+
+
+
+
- HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, WORK_CENTER, SHOP_ORDER, MESSAGE_TYPE, RESRCE, NC_CODE, SHUT_DOWN, RESPONSE_USER, RESPONSE_DATE_TIME, PB_DESCRIPTION, NC_QTY, PB_GRADE, PB_USER, PB_QTY, REPAIR_DATE_TIME, DISCOVER, INSPECTER, ENTITY_LOCATION, REPORT_FROM, OBJECT_BO, PB_PHOTOSHOP, CANCEL_CODE, CANCEL_REASON, CANCEL_DATE_TIME, CANCEL_USER, CREATED_USER, CREATED_DATA_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
+ HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, WORK_CENTER, SHOP_ORDER, MESSAGE_TYPE, RESRCE, NC_CODE, SHUT_DOWN, RESPONSE_USER, RESPONSE_DATE_TIME, PB_DESCRIPTION, NC_QTY, PB_GRADE, PB_USER, PB_QTY, REPAIR_DATE_TIME, DISCOVER, INSPECTOR, ENTITY_LOCATION, REPORT_FROM, OBJECT_BO, PB_PHOTOSHOP, CANCEL_CODE, CANCEL_REASON, CANCEL_DATE_TIME, CANCEL_USER, CREATED_USER, CREATED_DATE_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
@@ -99,7 +106,7 @@
AND PB_QTY=#{ew.entity.pbQty} AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime} AND DISCOVER=#{ew.entity.discover}
- AND INSPECTER=#{ew.entity.inspecter}
+ AND INSPECTOR=#{ew.entity.inspector} AND ENTITY_LOCATION=#{ew.entity.entityLocation} AND REPORT_FROM=#{ew.entity.reportFrom} AND OBJECT_BO=#{ew.entity.objectBo}
@@ -109,7 +116,7 @@
AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime} AND CANCEL_USER=#{ew.entity.cancelUser} AND CREATED_USER=#{ew.entity.createdUser}
- AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
+ AND CREATED_DATE_TIME=#{ew.entity.createdDateTime} AND MODIFIED_USER=#{ew.entity.modifiedUser} AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
@@ -144,7 +151,7 @@
AND PB_QTY=#{ew.entity.pbQty} AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime} AND DISCOVER=#{ew.entity.discover}
- AND INSPECTER=#{ew.entity.inspecter}
+ AND INSPECTOR=#{ew.entity.inspector} AND ENTITY_LOCATION=#{ew.entity.entityLocation} AND REPORT_FROM=#{ew.entity.reportFrom} AND OBJECT_BO=#{ew.entity.objectBo}
@@ -154,7 +161,7 @@
AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime} AND CANCEL_USER=#{ew.entity.cancelUser} AND CREATED_USER=#{ew.entity.createdUser}
- AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
+ AND CREATED_DATE_TIME=#{ew.entity.createdDateTime} AND MODIFIED_USER=#{ew.entity.modifiedUser} AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
@@ -197,7 +204,7 @@
AND PB_QTY=#{ew.entity.pbQty} AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime} AND DISCOVER=#{ew.entity.discover}
- AND INSPECTER=#{ew.entity.inspecter}
+ AND INSPECTOR=#{ew.entity.inspector} AND ENTITY_LOCATION=#{ew.entity.entityLocation} AND REPORT_FROM=#{ew.entity.reportFrom} AND OBJECT_BO=#{ew.entity.objectBo}
@@ -207,7 +214,7 @@
AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime} AND CANCEL_USER=#{ew.entity.cancelUser} AND CREATED_USER=#{ew.entity.createdUser}
- AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
+ AND CREATED_DATE_TIME=#{ew.entity.createdDateTime} AND MODIFIED_USER=#{ew.entity.modifiedUser} AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
@@ -250,7 +257,7 @@
AND PB_QTY=#{ew.entity.pbQty} AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime} AND DISCOVER=#{ew.entity.discover}
- AND INSPECTER=#{ew.entity.inspecter}
+ AND INSPECTOR=#{ew.entity.inspector} AND ENTITY_LOCATION=#{ew.entity.entityLocation} AND REPORT_FROM=#{ew.entity.reportFrom} AND OBJECT_BO=#{ew.entity.objectBo}
@@ -260,7 +267,7 @@
AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime} AND CANCEL_USER=#{ew.entity.cancelUser} AND CREATED_USER=#{ew.entity.createdUser}
- AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
+ AND CREATED_DATE_TIME=#{ew.entity.createdDateTime} AND MODIFIED_USER=#{ew.entity.modifiedUser} AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
@@ -303,7 +310,7 @@
AND PB_QTY=#{ew.entity.pbQty} AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime} AND DISCOVER=#{ew.entity.discover}
- AND INSPECTER=#{ew.entity.inspecter}
+ AND INSPECTOR=#{ew.entity.inspector} AND ENTITY_LOCATION=#{ew.entity.entityLocation} AND REPORT_FROM=#{ew.entity.reportFrom} AND OBJECT_BO=#{ew.entity.objectBo}
@@ -313,7 +320,7 @@
AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime} AND CANCEL_USER=#{ew.entity.cancelUser} AND CREATED_USER=#{ew.entity.createdUser}
- AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
+ AND CREATED_DATE_TIME=#{ew.entity.createdDateTime} AND MODIFIED_USER=#{ew.entity.modifiedUser} AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
@@ -356,7 +363,7 @@
AND PB_QTY=#{ew.entity.pbQty} AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime} AND DISCOVER=#{ew.entity.discover}
- AND INSPECTER=#{ew.entity.inspecter}
+ AND INSPECTOR=#{ew.entity.inspector} AND ENTITY_LOCATION=#{ew.entity.entityLocation} AND REPORT_FROM=#{ew.entity.reportFrom} AND OBJECT_BO=#{ew.entity.objectBo}
@@ -366,7 +373,7 @@
AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime} AND CANCEL_USER=#{ew.entity.cancelUser} AND CREATED_USER=#{ew.entity.createdUser}
- AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
+ AND CREATED_DATE_TIME=#{ew.entity.createdDateTime} AND MODIFIED_USER=#{ew.entity.modifiedUser} AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
@@ -409,7 +416,7 @@
AND PB_QTY=#{ew.entity.pbQty} AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime} AND DISCOVER=#{ew.entity.discover}
- AND INSPECTER=#{ew.entity.inspecter}
+ AND INSPECTOR=#{ew.entity.inspector} AND ENTITY_LOCATION=#{ew.entity.entityLocation} AND REPORT_FROM=#{ew.entity.reportFrom} AND OBJECT_BO=#{ew.entity.objectBo}
@@ -419,7 +426,7 @@
AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime} AND CANCEL_USER=#{ew.entity.cancelUser} AND CREATED_USER=#{ew.entity.createdUser}
- AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
+ AND CREATED_DATE_TIME=#{ew.entity.createdDateTime} AND MODIFIED_USER=#{ew.entity.modifiedUser} AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
@@ -458,7 +465,7 @@
PB_QTY,REPAIR_DATE_TIME,DISCOVER,
- INSPECTER,
+ INSPECTOR,ENTITY_LOCATION,REPORT_FROM,OBJECT_BO,
@@ -468,7 +475,7 @@
CANCEL_DATE_TIME,CANCEL_USER,CREATED_USER,
- CREATED_DATA_TIME,
+ CREATED_DATE_TIME,MODIFIED_USER,MODIFIED_DATE_TIME,
VALUES
@@ -495,7 +502,7 @@
#{pbQty},#{repairDateTime},#{discover},
- #{inspecter},
+ #{inspector},#{entityLocation},#{reportFrom},#{objectBo},
@@ -505,7 +512,7 @@
#{cancelDateTime},#{cancelUser},#{createdUser},
- #{createdDataTime},
+ #{createdDateTime},#{modifiedUser},#{modifiedDateTime},
@@ -539,7 +546,7 @@
#{pbQty},
#{repairDateTime},
#{discover},
- #{inspecter},
+ #{inspector},
#{entityLocation},
#{reportFrom},
#{objectBo},
@@ -549,7 +556,7 @@
#{cancelDateTime},
#{cancelUser},
#{createdUser},
- #{createdDataTime},
+ #{createdDateTime},
#{modifiedUser},
#{modifiedDateTime},
@@ -579,7 +586,7 @@
PB_QTY=#{et.pbQty},REPAIR_DATE_TIME=#{et.repairDateTime},DISCOVER=#{et.discover},
- INSPECTER=#{et.inspecter},
+ INSPECTOR=#{et.inspector},ENTITY_LOCATION=#{et.entityLocation},REPORT_FROM=#{et.reportFrom},OBJECT_BO=#{et.objectBo},
@@ -589,7 +596,7 @@
CANCEL_DATE_TIME=#{et.cancelDateTime},CANCEL_USER=#{et.cancelUser},CREATED_USER=#{et.createdUser},
- CREATED_DATA_TIME=#{et.createdDataTime},
+ CREATED_DATE_TIME=#{et.createdDateTime},MODIFIED_USER=#{et.modifiedUser},MODIFIED_DATE_TIME=#{et.modifiedDateTime},
WHERE HANDLE=#{et.handle} and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}
@@ -619,7 +626,7 @@
PB_QTY=#{et.pbQty},
REPAIR_DATE_TIME=#{et.repairDateTime},
DISCOVER=#{et.discover},
- INSPECTER=#{et.inspecter},
+ INSPECTOR=#{et.inspector},
ENTITY_LOCATION=#{et.entityLocation},
REPORT_FROM=#{et.reportFrom},
OBJECT_BO=#{et.objectBo},
@@ -629,7 +636,7 @@
CANCEL_DATE_TIME=#{et.cancelDateTime},
CANCEL_USER=#{et.cancelUser},
CREATED_USER=#{et.createdUser},
- CREATED_DATA_TIME=#{et.createdDataTime},
+ CREATED_DATE_TIME=#{et.createdDateTime},
MODIFIED_USER=#{et.modifiedUser},
MODIFIED_DATE_TIME=#{et.modifiedDateTime},
WHERE HANDLE=#{et.handle} and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}
@@ -659,7 +666,7 @@
PB_QTY=#{et.pbQty},REPAIR_DATE_TIME=#{et.repairDateTime},DISCOVER=#{et.discover},
- INSPECTER=#{et.inspecter},
+ INSPECTOR=#{et.inspector},ENTITY_LOCATION=#{et.entityLocation},REPORT_FROM=#{et.reportFrom},OBJECT_BO=#{et.objectBo},
@@ -669,7 +676,7 @@
CANCEL_DATE_TIME=#{et.cancelDateTime},CANCEL_USER=#{et.cancelUser},CREATED_USER=#{et.createdUser},
- CREATED_DATA_TIME=#{et.createdDataTime},
+ CREATED_DATE_TIME=#{et.createdDateTime},MODIFIED_USER=#{et.modifiedUser},MODIFIED_DATE_TIME=#{et.modifiedDateTime},
@@ -698,7 +705,7 @@
AND PB_QTY=#{ew.entity.pbQty} AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime} AND DISCOVER=#{ew.entity.discover}
- AND INSPECTER=#{ew.entity.inspecter}
+ AND INSPECTOR=#{ew.entity.inspector} AND ENTITY_LOCATION=#{ew.entity.entityLocation} AND REPORT_FROM=#{ew.entity.reportFrom} AND OBJECT_BO=#{ew.entity.objectBo}
@@ -708,7 +715,7 @@
AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime} AND CANCEL_USER=#{ew.entity.cancelUser} AND CREATED_USER=#{ew.entity.createdUser}
- AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
+ AND CREATED_DATE_TIME=#{ew.entity.createdDateTime} AND MODIFIED_USER=#{ew.entity.modifiedUser} AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
@@ -768,7 +775,7 @@
AND PB_QTY=#{ew.entity.pbQty} AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime} AND DISCOVER=#{ew.entity.discover}
- AND INSPECTER=#{ew.entity.inspecter}
+ AND INSPECTOR=#{ew.entity.inspector} AND ENTITY_LOCATION=#{ew.entity.entityLocation} AND REPORT_FROM=#{ew.entity.reportFrom} AND OBJECT_BO=#{ew.entity.objectBo}
@@ -778,7 +785,7 @@
AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime} AND CANCEL_USER=#{ew.entity.cancelUser} AND CREATED_USER=#{ew.entity.createdUser}
- AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
+ AND CREATED_DATE_TIME=#{ew.entity.createdDateTime} AND MODIFIED_USER=#{ew.entity.modifiedUser} AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
@@ -798,5 +805,48 @@
)
+