@ -915,6 +915,9 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
String user = CommonMethods.getUser();
LocalDateTime now = LocalDateTime.now();
AbnormalBill abnormalBill = getById(HandleEnum.ABNORMAL_BILL.getHandle(site, abnormalNo));
if(abnormalBill == null){
return ;
}
if(!Constants.RESPONSE.equals(abnormalBill.getStatus())){
throw new BaseException("状态不在响应中,请重新检索");
@ -85,6 +85,10 @@
<if test="param.item != null and param.item != ''">
AND (I.ITEM = #{param.item} OR IT.DESCRIPTION = #{param.item})
</if>
<if test="param.currentOperation != null and param.currentOperation != ''">
AND (OT2.DESCRIPTION LIKE '%${param.currentOperation}%' OR
O2.OPERATION LIKE '%${param.currentOperation}%')
<!-- <if test="param.itemDescription != null and param.itemDescription != ''">-->
<!-- AND IT.DESCRIPTION LIKE '%${param.itemDescription}%'-->
<!-- </if>-->