Commit d85d5725 authored by dahai's avatar dahai

push

parent 5c872431
...@@ -290,7 +290,7 @@ public class DeliveredApi { ...@@ -290,7 +290,7 @@ public class DeliveredApi {
String name = jsonObject.getString("name") + ""; String name = jsonObject.getString("name") + "";
List<String> list = (List<String>) jsonArray; List<String> list = (List<String>) jsonArray;
for (String cardId : list) { for (String cardId : list) {
//todo 确认接收妥投失败证件 deliveredService.updateDeliveredFailedInfo(cardId,name);
//查询出对应详单信息 //查询出对应详单信息
List<DetailReceiptListEntity> detailReceiptListEntityList = detailReceiptListService.selectDetailReceiptListEntityByCardId(cardId); List<DetailReceiptListEntity> detailReceiptListEntityList = detailReceiptListService.selectDetailReceiptListEntityByCardId(cardId);
if (detailReceiptListEntityList.size() > 0) { if (detailReceiptListEntityList.size() > 0) {
......
...@@ -62,5 +62,7 @@ public interface DeliveredInfoMapper { ...@@ -62,5 +62,7 @@ public interface DeliveredInfoMapper {
"left join DELIVERED_FAILED_REASON on DELIVERED_FAILED_REASON.ID = DELIVERED_FAILED_INFO.BACK_REASON\n" + "left join DELIVERED_FAILED_REASON on DELIVERED_FAILED_REASON.ID = DELIVERED_FAILED_INFO.BACK_REASON\n" +
"where RECEIVE_DATE is null") "where RECEIVE_DATE is null")
public List<Map<String,Object>> selectDeliveredFailedNotReceive(); public List<Map<String,Object>> selectDeliveredFailedNotReceive();
@Update("update DELIVERED_FAILED_INFO set RECEIVE_NAME =#{name},RECEIVE_DATE = sysdate where CARD_ID = #{cardID} and RECEIVE_DATE is null")
public boolean updateDeliveredFailedInfo(@Param("cardID")String cardID, @Param("name")String name);
} }
...@@ -25,4 +25,5 @@ public interface DeliveredService { ...@@ -25,4 +25,5 @@ public interface DeliveredService {
public List<Map<String,Object>> selectDeliverData(String stringList); public List<Map<String,Object>> selectDeliverData(String stringList);
public List<Map<String,Object>> selectDeliverDataByWaybillNumber(String waybillNumber); public List<Map<String,Object>> selectDeliverDataByWaybillNumber(String waybillNumber);
public List<Map<String,Object>> selectDeliveredFailedNotReceive(); public List<Map<String,Object>> selectDeliveredFailedNotReceive();
public boolean updateDeliveredFailedInfo(String cardID,String name);
} }
...@@ -105,4 +105,9 @@ public class DeliveredServiceImpl implements DeliveredService { ...@@ -105,4 +105,9 @@ public class DeliveredServiceImpl implements DeliveredService {
public List<Map<String, Object>> selectDeliveredFailedNotReceive() { public List<Map<String, Object>> selectDeliveredFailedNotReceive() {
return deliveredInfoMapper.selectDeliveredFailedNotReceive(); return deliveredInfoMapper.selectDeliveredFailedNotReceive();
} }
@Override
public boolean updateDeliveredFailedInfo(String cardID, String name) {
return deliveredInfoMapper.updateDeliveredFailedInfo(cardID,name);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment