|
|
@@ -10,6 +10,7 @@ import com.model.mapper.DispatchMapper;
|
|
|
import com.model.result.CommRes;
|
|
|
import com.model.service.ClientService;
|
|
|
import com.model.service.DispatchService;
|
|
|
+import com.model.util.DesEncry;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -162,4 +163,19 @@ public class DispatchServiceImpl implements DispatchService {
|
|
|
return CommRes.success(null);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public CommRes getDispatchListLog(Dispatch dispatch) {
|
|
|
+ List<Dispatch> list = null;
|
|
|
+ try {
|
|
|
+ list = dispatchMapper.getDispatchListLog(dispatch);
|
|
|
+ for (Dispatch dispatch1 : list) {
|
|
|
+ List<DispatchSublist> list1 = dispatchMapper.getDispatchLists(dispatch1);
|
|
|
+ dispatch1.setDataList(list1);
|
|
|
+ }
|
|
|
+ }catch (Exception e){
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ return CommRes.success(list);
|
|
|
+ }
|
|
|
+
|
|
|
}
|