初始化
This commit is contained in:
commit
89164dbd44
15
.gitignore
vendored
Normal file
15
.gitignore
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
*.iml
|
||||
.gradle
|
||||
/local.properties
|
||||
/.idea/caches
|
||||
/.idea/libraries
|
||||
/.idea/modules.xml
|
||||
/.idea/workspace.xml
|
||||
/.idea/navEditor.xml
|
||||
/.idea/assetWizardSettings.xml
|
||||
.DS_Store
|
||||
/build
|
||||
/captures
|
||||
.externalNativeBuild
|
||||
.cxx
|
||||
local.properties
|
||||
3
.idea/.gitignore
vendored
Normal file
3
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
1
.idea/.name
Normal file
1
.idea/.name
Normal file
@ -0,0 +1 @@
|
||||
app-dhhy-cargo
|
||||
6
.idea/compiler.xml
Normal file
6
.idea/compiler.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="1.8" />
|
||||
</component>
|
||||
</project>
|
||||
19
.idea/gradle.xml
Normal file
19
.idea/gradle.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="testRunner" value="GRADLE" />
|
||||
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
<option value="$PROJECT_DIR$/app" />
|
||||
</set>
|
||||
</option>
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
75
.idea/jarRepositories.xml
Normal file
75
.idea/jarRepositories.xml
Normal file
@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="MavenRepo" />
|
||||
<option name="name" value="MavenRepo" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven2" />
|
||||
<option name="name" value="maven2" />
|
||||
<option name="url" value="https://www.jitpack.io" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven3" />
|
||||
<option name="name" value="maven3" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven4" />
|
||||
<option name="name" value="maven4" />
|
||||
<option name="url" value="https://maven.aliyun.com/repository/releases" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="BintrayJCenter" />
|
||||
<option name="name" value="BintrayJCenter" />
|
||||
<option name="url" value="https://jcenter.bintray.com/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven" />
|
||||
<option name="name" value="maven" />
|
||||
<option name="url" value="http://developer.huawei.com/repo/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="Google" />
|
||||
<option name="name" value="Google" />
|
||||
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven5" />
|
||||
<option name="name" value="maven5" />
|
||||
<option name="url" value="https://jitpack.io" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven3" />
|
||||
<option name="name" value="maven3" />
|
||||
<option name="url" value="http://maven.aliyun.com/nexus/content/repositories/releases/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven4" />
|
||||
<option name="name" value="maven4" />
|
||||
<option name="url" value="https://developer.huawei.com/repo/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven" />
|
||||
<option name="name" value="maven" />
|
||||
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven2" />
|
||||
<option name="name" value="maven2" />
|
||||
<option name="url" value="http://maven.aliyun.com/nexus/content/repositories/jcenter" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
37
.idea/misc.xml
Normal file
37
.idea/misc.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DesignSurface">
|
||||
<option name="filePathToZoomLevelMap">
|
||||
<map>
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/drawable/bg_bai.xml" value="0.24" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/drawable/bg_info_input.xml" value="0.24" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/drawable/bottom_xu.xml" value="0.24" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/activity_address_switch.xml" value="0.36614583333333334" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/activity_auth_certificates.xml" value="0.228125" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/activity_auth_company.xml" value="0.228125" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/activity_choice_address.xml" value="0.2682291666666667" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/activity_goods_add.xml" value="0.2682291666666667" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/activity_loading.xml" value="0.2682291666666667" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/activity_login.xml" value="0.3614583333333333" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/activity_main.xml" value="0.2171875" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/activity_node_info.xml" value="0.2682291666666667" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/activity_order_details.xml" value="0.2524271844660194" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/fragment_huoyuan.xml" value="0.3614583333333333" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/huoyuan_bottom.xml" value="0.3558974358974359" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/huoyuan_content.xml" value="0.3614583333333333" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/huoyuan_input_car.xml" value="0.3614583333333333" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/item_search_address_pop.xml" value="0.24166666666666667" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/my.xml" value="0.2682291666666667" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/order_details_all.xml" value="0.2171875" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/order_details_loading_all.xml" value="0.2171875" />
|
||||
<entry key="..\:/2022work2/dhhy-cargo/app/src/main/res/layout/order_item.xml" value="0.2682291666666667" />
|
||||
</map>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
<option name="id" value="Android" />
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
1
app/.gitignore
vendored
Normal file
1
app/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/build
|
||||
162
app/build.gradle
Normal file
162
app/build.gradle
Normal file
@ -0,0 +1,162 @@
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 30
|
||||
buildToolsVersion "30.0.3"
|
||||
|
||||
signingConfigs {
|
||||
debug {
|
||||
storeFile file('dhhy-cargo-keys')
|
||||
storePassword 'dhhy123456p'
|
||||
keyAlias 'key0'
|
||||
keyPassword 'dhhy123456p'
|
||||
}
|
||||
config {
|
||||
keyAlias 'key0'
|
||||
keyPassword 'dhhy123456p'
|
||||
storeFile file('dhhy-cargo-keys')
|
||||
storePassword 'dhhy123456p'
|
||||
}
|
||||
release {
|
||||
keyAlias 'key0'
|
||||
keyPassword 'dhhy123456p'
|
||||
storeFile file('dhhy-cargo-keys')
|
||||
storePassword 'dhhy123456p'
|
||||
}
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.oneclouds.cargo"
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 30
|
||||
versionCode 27
|
||||
versionName "3.0.7"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
ndk {
|
||||
//设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so)
|
||||
abiFilters "armeabi-v7a", "arm64-v8a"
|
||||
}
|
||||
// javaCompileOptions {
|
||||
//
|
||||
// annotationProcessorOptions {
|
||||
// includeCompileClasspath = true
|
||||
// arguments = [ moduleName : project.getName() ]
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
maven { url "https://jitpack.io" }
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
android.applicationVariants.all { variant ->
|
||||
variant.outputs.all {
|
||||
def date = new Date().format("MMdd_HH-mm" , TimeZone.getTimeZone("GMT+08"))
|
||||
if(variant.buildType.name.equals('release')){
|
||||
outputFileName = "dhhy-cargo-"+date+"-${versionName}.apk"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'com.google.android.material:material:1.2.1'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
||||
implementation 'org.jetbrains:annotations:15.0'
|
||||
//implementation files('libs\\AMap2DMap_6.0.0_AMapSearch_7.9.0_20210331.jar')
|
||||
// implementation files('libs\\AMap_Location_V5.3.1_20210331.jar')
|
||||
//implementation files('libs\\Android_Lite3DMap_SDK_V1.2.0_20210412.jar')
|
||||
// implementation files('libs\\AMap2DMap_6.0.0_AMapSearch_7.9.0_20210331.jar')
|
||||
//implementation files('libs\\android-support-v4.jar')
|
||||
testImplementation 'junit:junit:4.+'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||
//图片
|
||||
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
||||
implementation 'top.zibin:Luban:1.1.3'
|
||||
//okhttp
|
||||
implementation 'com.squareup.okhttp3:okhttp:3.2.0'
|
||||
//gson
|
||||
implementation 'com.google.code.gson:gson:2.8.5'
|
||||
//角标文字
|
||||
implementation 'com.haozhang.libary:android-slanted-textview:1.2'
|
||||
//加载
|
||||
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1'
|
||||
implementation 'com.scwang.smart:refresh-header-material:2.0.1'
|
||||
implementation 'com.scwang.smart:refresh-footer-ball:2.0.1' //球脉冲加载
|
||||
implementation 'com.scwang.smart:refresh-footer-classics:2.0.1' //经典加载
|
||||
implementation 'com.alibaba:fastjson:1.2.61'
|
||||
//弹框
|
||||
//
|
||||
implementation 'com.lxj:xpopup:2.2.8'
|
||||
//更新版本
|
||||
implementation 'com.github.jenly1314.AppUpdater:app-updater:1.1.0'
|
||||
implementation 'com.github.jenly1314.AppUpdater:app-dialog:1.1.0'
|
||||
//轮播插件
|
||||
implementation 'com.github.zhpanvip:BannerViewPager:3.5.4'
|
||||
//选择器
|
||||
//implementation 'com.github.gzu-liyujiang:AndroidPicker:Tag'
|
||||
implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelPicker:3.1.1'
|
||||
implementation 'com.github.gzu-liyujiang.AndroidPicker:AddressPicker:3.1.1'
|
||||
//EventBus
|
||||
implementation 'org.greenrobot:eventbus:3.1.1'
|
||||
implementation 'org.bouncycastle:bcprov-jdk15on:1.64'
|
||||
//工具类
|
||||
implementation 'cn.hutool:hutool-all:5.7.11'
|
||||
//UI库
|
||||
implementation 'com.github.tamsiree.RxTool:RxUI:2.6.2'
|
||||
//相机库
|
||||
implementation 'com.github.tamsiree.RxTool:RxCamera:2.6.2'
|
||||
//功能库(Zxing扫描与生成二维码条形码)
|
||||
implementation 'com.github.tamsiree.RxTool:RxFeature:2.6.2'
|
||||
//ArcGis For Android工具库(API:100.1以上版本)
|
||||
implementation 'com.github.tamsiree.RxTool:RxArcGisKit:2.6.2'
|
||||
//友盟
|
||||
// 下面各SDK根据宿主App是否使用相关业务按需引入。
|
||||
// 友盟统计SDK
|
||||
implementation 'com.umeng.umsdk:common:9.4.2'// 必选
|
||||
implementation 'com.umeng.umsdk:asms:1.4.1'// 必选
|
||||
implementation 'com.umeng.umsdk:apm:1.4.2' // 错误分析升级为独立SDK,看crash数据请一定集成,可选
|
||||
implementation 'com.umeng.umsdk:abtest:1.0.0'//使用U-App中ABTest能力,可选
|
||||
//xui
|
||||
implementation 'com.github.xuexiangjys:XUI:1.1.8'
|
||||
|
||||
implementation "io.reactivex.rxjava3:rxjava:3.1.4"
|
||||
implementation "io.reactivex.rxjava3:rxandroid:3.0.0"
|
||||
// implementation "com.squareup.retrofit2:adapter-rxjava3:2.9.0"
|
||||
|
||||
implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.2.9'
|
||||
|
||||
// implementation 'io.github.lucksiege:pictureselector:v3.0.9'
|
||||
|
||||
implementation 'com.github.getActivity:XToast:8.2'
|
||||
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.6'
|
||||
|
||||
implementation 'com.github.tbruyelle:rxpermissions:0.12'
|
||||
|
||||
|
||||
implementation 'com.amap.api:3dmap:8.0.0'
|
||||
implementation 'com.amap.api:location:5.4.0'
|
||||
implementation 'com.amap.api:search:7.9.0'
|
||||
}
|
||||
BIN
app/dhhy-cargo-keys
Normal file
BIN
app/dhhy-cargo-keys
Normal file
Binary file not shown.
BIN
app/libs/AMap2DMap_6.0.0_AMapSearch_7.9.0_20210331.jar
Normal file
BIN
app/libs/AMap2DMap_6.0.0_AMapSearch_7.9.0_20210331.jar
Normal file
Binary file not shown.
BIN
app/libs/AMap_Location_V5.3.1_20210331.jar
Normal file
BIN
app/libs/AMap_Location_V5.3.1_20210331.jar
Normal file
Binary file not shown.
21
app/proguard-rules.pro
vendored
Normal file
21
app/proguard-rules.pro
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
BIN
app/release/dhhy-cargo-0718_16-12-3.0.7.apk
Normal file
BIN
app/release/dhhy-cargo-0718_16-12-3.0.7.apk
Normal file
Binary file not shown.
18
app/release/output-metadata.json
Normal file
18
app/release/output-metadata.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": 2,
|
||||
"artifactType": {
|
||||
"type": "APK",
|
||||
"kind": "Directory"
|
||||
},
|
||||
"applicationId": "com.oneclouds.cargo",
|
||||
"variantName": "release",
|
||||
"elements": [
|
||||
{
|
||||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"versionCode": 27,
|
||||
"versionName": "3.0.7",
|
||||
"outputFile": "dhhy-cargo-0718_16-12-3.0.7.apk"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
package com.oneclouds.cargo;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.test.platform.app.InstrumentationRegistry;
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ExampleInstrumentedTest {
|
||||
@Test
|
||||
public void useAppContext() {
|
||||
// Context of the app under test.
|
||||
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
|
||||
assertEquals("com.oneclouds.cargo", appContext.getPackageName());
|
||||
}
|
||||
}
|
||||
115
app/src/main/AndroidManifest.xml
Normal file
115
app/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.oneclouds.cargo">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
|
||||
<!--如果您的应用需要后台定位权限,且有可能运行在Android Q设备上,并且设置了target>28,必须增加这个权限声明-->
|
||||
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.EACCES"/>
|
||||
<!--用于申请调用A-GPS模块-->
|
||||
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"></uses-permission>
|
||||
<!--用于写入缓存数据到扩展存储卡-->
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
|
||||
<!--用于读取手机当前的状态-->
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>
|
||||
|
||||
<!--用于访问wifi网络信息,wifi信息会用于进行网络定位-->
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
|
||||
<!--用于获取wifi的获取权限,wifi信息会用来进行网络定位-->
|
||||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission>
|
||||
|
||||
|
||||
<!-- 判断相机是否 可以使用 如果不加以下配置 那么captureIntent.resolveActivity(context.getPackageManager())==null -->
|
||||
<queries>
|
||||
<intent>
|
||||
<action android:name="android.media.action.IMAGE_CAPTURE"/>
|
||||
</intent>
|
||||
|
||||
<intent>
|
||||
<action android:name="android.media.action.VIDEO_CAPTURE"/>
|
||||
</intent>
|
||||
</queries>
|
||||
|
||||
|
||||
<application
|
||||
android:name=".ui.App"
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/logo_cargo"
|
||||
android:label="@string/app_name"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme"
|
||||
android:usesCleartextTraffic="true"
|
||||
android:excludeFromRecents="true"
|
||||
android:requestLegacyExternalStorage="true"
|
||||
android:largeHeap="true">
|
||||
|
||||
|
||||
<meta-data
|
||||
android:name="com.amap.api.v2.apikey"
|
||||
android:value="6009d63caedb3fead6f003cc5fd191ca" />
|
||||
<activity android:name=".ui.map.WebMapActivity" android:screenOrientation="portrait">
|
||||
|
||||
</activity>
|
||||
<activity android:name=".ui.WelcomeActivity" android:screenOrientation="portrait">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name=".ui.home.OrderListActivity"
|
||||
android:screenOrientation="portrait">
|
||||
|
||||
</activity>
|
||||
<activity android:name=".ui.MainActivity" android:screenOrientation="portrait" android:windowSoftInputMode="adjustPan">
|
||||
</activity>
|
||||
<activity android:name=".ui.LoginActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.ForgetPwdActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.AddressActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.AddressAddActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.GoodsActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.WebActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.news.NewsActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.wallet.UpBankActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.SetupActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.OrderAllActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.auth.MyAuthActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.auth.BusinesslicenseAuthActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.GoodsSourceActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.OrderDetailsActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.OrderComplaintActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.GetUploadImageActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.auth.CertificatesAuthActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.auth.CompanyAuthActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.invoice.InvoiceActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.invoice.InvoiceHaederActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.invoice.InvoiceHaederAddActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.invoice.InvoiceHistoryActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.invoice.InvoiceDetailsActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.invoice.InvoiceCreateActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.OrderDetailsAllActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.my.auth.DangAuthActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.GoodsDischargeActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.InformationActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.NodeInfoActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.SearchAddressActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.ChoiceAddressActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.home.DisCarActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name=".ui.news.NewsXActivity" android:screenOrientation="portrait"/>
|
||||
<provider
|
||||
android:name="androidx.core.content.FileProvider"
|
||||
android:authorities="com.oneclouds.cargo.fileprovider"
|
||||
android:exported="false"
|
||||
android:grantUriPermissions="true"
|
||||
tools:ignore="WrongManifestParent">
|
||||
<meta-data
|
||||
android:name="android.support.FILE_PROVIDER_PATHS"
|
||||
android:resource="@xml/file_paths" />
|
||||
</provider>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
13630
app/src/main/assets/province.json
Normal file
13630
app/src/main/assets/province.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,43 @@
|
||||
package com.oneclouds.cargo.adapter;
|
||||
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.amap.api.services.help.Tip;
|
||||
import com.chad.library.adapter.base.BaseQuickAdapter;
|
||||
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
|
||||
import com.oneclouds.cargo.R;
|
||||
import com.oneclouds.cargo.bean.StateBean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class CenterSimAdapter extends BaseQuickAdapter<Tip, BaseViewHolder> {
|
||||
private Tip selectString=null;
|
||||
|
||||
|
||||
public CenterSimAdapter(int layoutResId, @Nullable List<Tip> data, Tip selectString) {
|
||||
super(R.layout.item_search_address_pop, data);
|
||||
this.selectString = selectString;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void convert(BaseViewHolder helper, Tip item) {
|
||||
helper.setText(R.id.tvName,item.getName())
|
||||
.setText(R.id.tvName,item.getDistrict()+item.getAddress());;
|
||||
// TextView tv = helper.getView(R.id.tvName);
|
||||
// if (selectString!=null&&item.getDictValue()!=null){
|
||||
// if (item.getDictValue().equals(selectString.getDictValue())){
|
||||
// tv.setSelected(true);
|
||||
// }else{
|
||||
// tv.setSelected(false);
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void setSelect(Tip selectString){
|
||||
this.selectString = selectString;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
package com.oneclouds.cargo.adapter;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.amap.api.services.help.Tip;
|
||||
import com.chad.library.adapter.base.BaseQuickAdapter;
|
||||
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
|
||||
import com.oneclouds.cargo.R;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ChoiceAddressAdapter extends BaseQuickAdapter<Tip, BaseViewHolder> {
|
||||
|
||||
|
||||
public ChoiceAddressAdapter(int layoutResId, @Nullable List<Tip> data) {
|
||||
super(R.layout.item_search_address_pop, data);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void convert(BaseViewHolder helper, Tip item) {
|
||||
helper.setText(R.id.tvName, item.getName())
|
||||
.setText(R.id.tvAddress, item.getDistrict() + item.getAddress());
|
||||
;
|
||||
// TextView tv = helper.getView(R.id.tvName);
|
||||
// if (selectString!=null&&item.getDictValue()!=null){
|
||||
// if (item.getDictValue().equals(selectString.getDictValue())){
|
||||
// tv.setSelected(true);
|
||||
// }else{
|
||||
// tv.setSelected(false);
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
17
app/src/main/java/com/oneclouds/cargo/base/AppConfig.java
Normal file
17
app/src/main/java/com/oneclouds/cargo/base/AppConfig.java
Normal file
@ -0,0 +1,17 @@
|
||||
package com.oneclouds.cargo.base;
|
||||
|
||||
/**
|
||||
* @ClassName AppConfig
|
||||
* @Author 用户
|
||||
* @Date 2022/1/14 15:24
|
||||
* @Description TODO
|
||||
*/
|
||||
public class AppConfig {
|
||||
|
||||
public static final String BEAN= "DA_HE_BEAN";
|
||||
public static final String STRING= "DA_HE_STRING";
|
||||
public static final String ID= "DA_HE_ID";
|
||||
public static final String PWD= "DA_HE_PHONE";
|
||||
public static final String CODE= "DA_HE_PHONE";
|
||||
public static final String TYPE= "DA_HE_TYPE";
|
||||
}
|
||||
174
app/src/main/java/com/oneclouds/cargo/bean/AddressBean.java
Normal file
174
app/src/main/java/com/oneclouds/cargo/bean/AddressBean.java
Normal file
@ -0,0 +1,174 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/13 19:42
|
||||
* @description:
|
||||
*/
|
||||
public class AddressBean{
|
||||
|
||||
private String addressDetail;
|
||||
private int addressType;
|
||||
private int area;
|
||||
private int city;
|
||||
private String companyCode;
|
||||
private String companyName;
|
||||
private String contactNumber;
|
||||
private String contactPerson;
|
||||
private String createTime;
|
||||
private int id;
|
||||
private String idCard;
|
||||
private int idDefault;
|
||||
private int isDeleted;
|
||||
private int province;
|
||||
private String tagContent;
|
||||
private String updateTime;
|
||||
private int userId;
|
||||
private int userType;
|
||||
|
||||
public String getAddressDetail() {
|
||||
return addressDetail == null ? "" : addressDetail;
|
||||
}
|
||||
|
||||
public void setAddressDetail(String addressDetail) {
|
||||
this.addressDetail = addressDetail;
|
||||
}
|
||||
|
||||
public int getAddressType() {
|
||||
return addressType;
|
||||
}
|
||||
|
||||
public void setAddressType(int addressType) {
|
||||
this.addressType = addressType;
|
||||
}
|
||||
|
||||
public int getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(int area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public int getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(int city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getCompanyCode() {
|
||||
return companyCode == null ? "" : companyCode;
|
||||
}
|
||||
|
||||
public void setCompanyCode(String companyCode) {
|
||||
this.companyCode = companyCode;
|
||||
}
|
||||
|
||||
public String getCompanyName() {
|
||||
return companyName == null ? "" : companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public String getContactNumber() {
|
||||
return contactNumber == null ? "" : contactNumber;
|
||||
}
|
||||
|
||||
public void setContactNumber(String contactNumber) {
|
||||
this.contactNumber = contactNumber;
|
||||
}
|
||||
|
||||
public String getContactPerson() {
|
||||
return contactPerson == null ? "" : contactPerson;
|
||||
}
|
||||
|
||||
public void setContactPerson(String contactPerson) {
|
||||
this.contactPerson = contactPerson;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime == null ? "" : createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getIdCard() {
|
||||
return idCard == null ? "" : idCard;
|
||||
}
|
||||
|
||||
public void setIdCard(String idCard) {
|
||||
this.idCard = idCard;
|
||||
}
|
||||
|
||||
public int getIdDefault() {
|
||||
return idDefault;
|
||||
}
|
||||
|
||||
public void setIdDefault(int idDefault) {
|
||||
this.idDefault = idDefault;
|
||||
}
|
||||
|
||||
public int getIsDeleted() {
|
||||
return isDeleted;
|
||||
}
|
||||
|
||||
public void setIsDeleted(int isDeleted) {
|
||||
this.isDeleted = isDeleted;
|
||||
}
|
||||
|
||||
public int getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(int province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getTagContent() {
|
||||
return tagContent == null ? "" : tagContent;
|
||||
}
|
||||
|
||||
public void setTagContent(String tagContent) {
|
||||
this.tagContent = tagContent;
|
||||
}
|
||||
|
||||
public String getUpdateTime() {
|
||||
return updateTime == null ? "" : updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(String updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public int getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(int userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public int getUserType() {
|
||||
return userType;
|
||||
}
|
||||
|
||||
public void setUserType(int userType) {
|
||||
this.userType = userType;
|
||||
}
|
||||
|
||||
}
|
||||
351
app/src/main/java/com/oneclouds/cargo/bean/AddressListBean.java
Normal file
351
app/src/main/java/com/oneclouds/cargo/bean/AddressListBean.java
Normal file
@ -0,0 +1,351 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/13 19:49
|
||||
* @description:
|
||||
*/
|
||||
public class AddressListBean {
|
||||
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg == null ? "" : msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private List<RecordsDTO> records;
|
||||
private int total;
|
||||
private int size;
|
||||
private int current;
|
||||
private List<?> orders;
|
||||
private boolean searchCount;
|
||||
private int pages;
|
||||
|
||||
public List<RecordsDTO> getRecords() {
|
||||
if (records == null) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
return records;
|
||||
}
|
||||
|
||||
public void setRecords(List<RecordsDTO> records) {
|
||||
this.records = records;
|
||||
}
|
||||
|
||||
public int getTotal() {
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(int total) {
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
public void setSize(int size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public int getCurrent() {
|
||||
return current;
|
||||
}
|
||||
|
||||
public void setCurrent(int current) {
|
||||
this.current = current;
|
||||
}
|
||||
|
||||
public List<?> getOrders() {
|
||||
if (orders == null) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
return orders;
|
||||
}
|
||||
|
||||
public void setOrders(List<?> orders) {
|
||||
this.orders = orders;
|
||||
}
|
||||
|
||||
public boolean isSearchCount() {
|
||||
return searchCount;
|
||||
}
|
||||
|
||||
public void setSearchCount(boolean searchCount) {
|
||||
this.searchCount = searchCount;
|
||||
}
|
||||
|
||||
public int getPages() {
|
||||
return pages;
|
||||
}
|
||||
|
||||
public void setPages(int pages) {
|
||||
this.pages = pages;
|
||||
}
|
||||
|
||||
public static class RecordsDTO {
|
||||
private int id;
|
||||
private int userId;
|
||||
private String userName;
|
||||
private int addressType;
|
||||
private String contactPerson;
|
||||
private String businessCode;
|
||||
private String contactNumber;
|
||||
private int province;
|
||||
private String provinceName;
|
||||
private int city;
|
||||
private String cityName;
|
||||
private int area;
|
||||
private String areaName;
|
||||
private String pathName;
|
||||
private String addressDetail;
|
||||
private Object tagContent;
|
||||
private int idDefault;
|
||||
private int isDeleted;
|
||||
private String createTime;
|
||||
private String updateTime;
|
||||
private String companyName;
|
||||
private String companyCode;
|
||||
private Object idCard;
|
||||
private int userType;
|
||||
|
||||
public String getBusinessCode() {
|
||||
return businessCode;
|
||||
}
|
||||
|
||||
public void setBusinessCode(String businessCode) {
|
||||
this.businessCode = businessCode;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(int userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return userName == null ? "" : userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public int getAddressType() {
|
||||
return addressType;
|
||||
}
|
||||
|
||||
public void setAddressType(int addressType) {
|
||||
this.addressType = addressType;
|
||||
}
|
||||
|
||||
public String getContactPerson() {
|
||||
return contactPerson == null ? "" : contactPerson;
|
||||
}
|
||||
|
||||
public void setContactPerson(String contactPerson) {
|
||||
this.contactPerson = contactPerson;
|
||||
}
|
||||
|
||||
public String getContactNumber() {
|
||||
return contactNumber == null ? "" : contactNumber;
|
||||
}
|
||||
|
||||
public void setContactNumber(String contactNumber) {
|
||||
this.contactNumber = contactNumber;
|
||||
}
|
||||
|
||||
public int getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(int province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getProvinceName() {
|
||||
return provinceName == null ? "" : provinceName;
|
||||
}
|
||||
|
||||
public void setProvinceName(String provinceName) {
|
||||
this.provinceName = provinceName;
|
||||
}
|
||||
|
||||
public int getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(int city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getCityName() {
|
||||
return cityName == null ? "" : cityName;
|
||||
}
|
||||
|
||||
public void setCityName(String cityName) {
|
||||
this.cityName = cityName;
|
||||
}
|
||||
|
||||
public int getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(int area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return areaName == null ? "" : areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public String getPathName() {
|
||||
return pathName == null ? "" : pathName;
|
||||
}
|
||||
|
||||
public void setPathName(String pathName) {
|
||||
this.pathName = pathName;
|
||||
}
|
||||
|
||||
public String getAddressDetail() {
|
||||
return addressDetail == null ? "" : addressDetail;
|
||||
}
|
||||
|
||||
public void setAddressDetail(String addressDetail) {
|
||||
this.addressDetail = addressDetail;
|
||||
}
|
||||
|
||||
public Object getTagContent() {
|
||||
return tagContent;
|
||||
}
|
||||
|
||||
public void setTagContent(Object tagContent) {
|
||||
this.tagContent = tagContent;
|
||||
}
|
||||
|
||||
public int getIdDefault() {
|
||||
return idDefault;
|
||||
}
|
||||
|
||||
public void setIdDefault(int idDefault) {
|
||||
this.idDefault = idDefault;
|
||||
}
|
||||
|
||||
public int getIsDeleted() {
|
||||
return isDeleted;
|
||||
}
|
||||
|
||||
public void setIsDeleted(int isDeleted) {
|
||||
this.isDeleted = isDeleted;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime == null ? "" : createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getUpdateTime() {
|
||||
return updateTime == null ? "" : updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(String updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public String getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public String getCompanyCode() {
|
||||
return companyCode == null ? "" : companyCode;
|
||||
}
|
||||
|
||||
public void setCompanyCode(String companyCode) {
|
||||
this.companyCode = companyCode;
|
||||
}
|
||||
|
||||
public Object getIdCard() {
|
||||
return idCard;
|
||||
}
|
||||
|
||||
public void setIdCard(Object idCard) {
|
||||
this.idCard = idCard;
|
||||
}
|
||||
|
||||
public int getUserType() {
|
||||
return userType;
|
||||
}
|
||||
|
||||
public void setUserType(int userType) {
|
||||
this.userType = userType;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,83 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/15 16:29
|
||||
* @description:安联货物类别
|
||||
*/
|
||||
public class AlGoodsTypeListBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private List<DataDTO> data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg == null ? "" : msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public List<DataDTO> getData() {
|
||||
if (data == null) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataDTO> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int id;
|
||||
private String name;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
590
app/src/main/java/com/oneclouds/cargo/bean/AuthInfoBean.java
Normal file
590
app/src/main/java/com/oneclouds/cargo/bean/AuthInfoBean.java
Normal file
@ -0,0 +1,590 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/18 10:35
|
||||
* @description:
|
||||
*/
|
||||
public class AuthInfoBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int id;
|
||||
private int userId;
|
||||
private String contactName;
|
||||
private String contactPhone;
|
||||
private String idcard;
|
||||
private String idcardValidity;
|
||||
private int idcardPhoto;
|
||||
private int idcardPhotoBack;
|
||||
private Object idcardPhotoHold;
|
||||
private String corporationName;
|
||||
private String corporationPhone;
|
||||
private String corporationIdcard;
|
||||
private String corporationIdcardValidity;
|
||||
private Object corporationIdcardPhoto;
|
||||
private Object corporationIdcardPhotoBack;
|
||||
private Object corporationIdcardPhotoHold;
|
||||
private String code;
|
||||
private Object businessLicense;
|
||||
private Object warrant;
|
||||
private int auditStatus;
|
||||
private String reason;
|
||||
private String realCompanyName;
|
||||
private Object province;
|
||||
private Object city;
|
||||
private Object area;
|
||||
private String addressDetail;
|
||||
private String applyTime;
|
||||
private String auditTime;
|
||||
private String companyShorterName;
|
||||
private int businessLicenseStatus;
|
||||
private int corporationStatus;
|
||||
private int idcardStatus;
|
||||
private int disabled;
|
||||
private String companyName;
|
||||
private String rname;
|
||||
private String registerPhone;
|
||||
private String loginPhone;
|
||||
private Object headportrait;
|
||||
private Object headportraitInfo;
|
||||
private String headportraitUrl;
|
||||
private Object updatePhoneTime;
|
||||
private String registerTime;
|
||||
private Object idcardPhotoInfo;
|
||||
private String idcardPhotoUrl;
|
||||
private Object idcardPhotoBackInfo;
|
||||
private String idcardPhotoBackUrl;
|
||||
private Object idcardPhotoHoldInfo;
|
||||
private String idcardPhotoHoldUrl;
|
||||
private Object corporationIdcardPhotoInfo;
|
||||
private String corporationIdcardPhotoUrl;
|
||||
private Object corporationIdcardPhotoBackInfo;
|
||||
private String corporationIdcardPhotoBackUrl;
|
||||
private Object corporationIdcardPhotoHoldInfo;
|
||||
private String corporationIdcardPhotoHoldUrl;
|
||||
private Object businessLicenseInfo;
|
||||
private String businessLicenseUrl;
|
||||
private Object warrantInfo;
|
||||
private String warrantUrl;
|
||||
private Object children;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(int userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getContactName() {
|
||||
return contactName;
|
||||
}
|
||||
|
||||
public void setContactName(String contactName) {
|
||||
this.contactName = contactName;
|
||||
}
|
||||
|
||||
public String getContactPhone() {
|
||||
return contactPhone;
|
||||
}
|
||||
|
||||
public void setContactPhone(String contactPhone) {
|
||||
this.contactPhone = contactPhone;
|
||||
}
|
||||
|
||||
public String getIdcard() {
|
||||
return idcard;
|
||||
}
|
||||
|
||||
public void setIdcard(String idcard) {
|
||||
this.idcard = idcard;
|
||||
}
|
||||
|
||||
public String getIdcardValidity() {
|
||||
return idcardValidity;
|
||||
}
|
||||
|
||||
public void setIdcardValidity(String idcardValidity) {
|
||||
this.idcardValidity = idcardValidity;
|
||||
}
|
||||
|
||||
public int getIdcardPhoto() {
|
||||
return idcardPhoto;
|
||||
}
|
||||
|
||||
public void setIdcardPhoto(int idcardPhoto) {
|
||||
this.idcardPhoto = idcardPhoto;
|
||||
}
|
||||
|
||||
public int getIdcardPhotoBack() {
|
||||
return idcardPhotoBack;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoBack(int idcardPhotoBack) {
|
||||
this.idcardPhotoBack = idcardPhotoBack;
|
||||
}
|
||||
|
||||
public Object getIdcardPhotoHold() {
|
||||
return idcardPhotoHold;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoHold(Object idcardPhotoHold) {
|
||||
this.idcardPhotoHold = idcardPhotoHold;
|
||||
}
|
||||
|
||||
public String getCorporationName() {
|
||||
return corporationName;
|
||||
}
|
||||
|
||||
public void setCorporationName(String corporationName) {
|
||||
this.corporationName = corporationName;
|
||||
}
|
||||
|
||||
public String getCorporationPhone() {
|
||||
return corporationPhone;
|
||||
}
|
||||
|
||||
public void setCorporationPhone(String corporationPhone) {
|
||||
this.corporationPhone = corporationPhone;
|
||||
}
|
||||
|
||||
public String getCorporationIdcard() {
|
||||
return corporationIdcard;
|
||||
}
|
||||
|
||||
public void setCorporationIdcard(String corporationIdcard) {
|
||||
this.corporationIdcard = corporationIdcard;
|
||||
}
|
||||
|
||||
public String getCorporationIdcardValidity() {
|
||||
return corporationIdcardValidity;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardValidity(String corporationIdcardValidity) {
|
||||
this.corporationIdcardValidity = corporationIdcardValidity;
|
||||
}
|
||||
|
||||
public Object getCorporationIdcardPhoto() {
|
||||
return corporationIdcardPhoto;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhoto(Object corporationIdcardPhoto) {
|
||||
this.corporationIdcardPhoto = corporationIdcardPhoto;
|
||||
}
|
||||
|
||||
public Object getCorporationIdcardPhotoBack() {
|
||||
return corporationIdcardPhotoBack;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoBack(Object corporationIdcardPhotoBack) {
|
||||
this.corporationIdcardPhotoBack = corporationIdcardPhotoBack;
|
||||
}
|
||||
|
||||
public Object getCorporationIdcardPhotoHold() {
|
||||
return corporationIdcardPhotoHold;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoHold(Object corporationIdcardPhotoHold) {
|
||||
this.corporationIdcardPhotoHold = corporationIdcardPhotoHold;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Object getBusinessLicense() {
|
||||
return businessLicense;
|
||||
}
|
||||
|
||||
public void setBusinessLicense(Object businessLicense) {
|
||||
this.businessLicense = businessLicense;
|
||||
}
|
||||
|
||||
public Object getWarrant() {
|
||||
return warrant;
|
||||
}
|
||||
|
||||
public void setWarrant(Object warrant) {
|
||||
this.warrant = warrant;
|
||||
}
|
||||
|
||||
public int getAuditStatus() {
|
||||
return auditStatus;
|
||||
}
|
||||
|
||||
public void setAuditStatus(int auditStatus) {
|
||||
this.auditStatus = auditStatus;
|
||||
}
|
||||
|
||||
public String getReason() {
|
||||
return reason;
|
||||
}
|
||||
|
||||
public void setReason(String reason) {
|
||||
this.reason = reason;
|
||||
}
|
||||
|
||||
public String getRealCompanyName() {
|
||||
return realCompanyName;
|
||||
}
|
||||
|
||||
public void setRealCompanyName(String realCompanyName) {
|
||||
this.realCompanyName = realCompanyName;
|
||||
}
|
||||
|
||||
public Object getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(Object province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public Object getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(Object city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public Object getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(Object area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public String getAddressDetail() {
|
||||
return addressDetail;
|
||||
}
|
||||
|
||||
public void setAddressDetail(String addressDetail) {
|
||||
this.addressDetail = addressDetail;
|
||||
}
|
||||
|
||||
public String getApplyTime() {
|
||||
return applyTime;
|
||||
}
|
||||
|
||||
public void setApplyTime(String applyTime) {
|
||||
this.applyTime = applyTime;
|
||||
}
|
||||
|
||||
public String getAuditTime() {
|
||||
return auditTime;
|
||||
}
|
||||
|
||||
public void setAuditTime(String auditTime) {
|
||||
this.auditTime = auditTime;
|
||||
}
|
||||
|
||||
public String getCompanyShorterName() {
|
||||
return companyShorterName;
|
||||
}
|
||||
|
||||
public void setCompanyShorterName(String companyShorterName) {
|
||||
this.companyShorterName = companyShorterName;
|
||||
}
|
||||
|
||||
public int getBusinessLicenseStatus() {
|
||||
return businessLicenseStatus;
|
||||
}
|
||||
|
||||
public void setBusinessLicenseStatus(int businessLicenseStatus) {
|
||||
this.businessLicenseStatus = businessLicenseStatus;
|
||||
}
|
||||
|
||||
public int getCorporationStatus() {
|
||||
return corporationStatus;
|
||||
}
|
||||
|
||||
public void setCorporationStatus(int corporationStatus) {
|
||||
this.corporationStatus = corporationStatus;
|
||||
}
|
||||
|
||||
public int getIdcardStatus() {
|
||||
return idcardStatus;
|
||||
}
|
||||
|
||||
public void setIdcardStatus(int idcardStatus) {
|
||||
this.idcardStatus = idcardStatus;
|
||||
}
|
||||
|
||||
public int getDisabled() {
|
||||
return disabled;
|
||||
}
|
||||
|
||||
public void setDisabled(int disabled) {
|
||||
this.disabled = disabled;
|
||||
}
|
||||
|
||||
public String getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public String getRname() {
|
||||
return rname;
|
||||
}
|
||||
|
||||
public void setRname(String rname) {
|
||||
this.rname = rname;
|
||||
}
|
||||
|
||||
public String getRegisterPhone() {
|
||||
return registerPhone;
|
||||
}
|
||||
|
||||
public void setRegisterPhone(String registerPhone) {
|
||||
this.registerPhone = registerPhone;
|
||||
}
|
||||
|
||||
public String getLoginPhone() {
|
||||
return loginPhone;
|
||||
}
|
||||
|
||||
public void setLoginPhone(String loginPhone) {
|
||||
this.loginPhone = loginPhone;
|
||||
}
|
||||
|
||||
public Object getHeadportrait() {
|
||||
return headportrait;
|
||||
}
|
||||
|
||||
public void setHeadportrait(Object headportrait) {
|
||||
this.headportrait = headportrait;
|
||||
}
|
||||
|
||||
public Object getHeadportraitInfo() {
|
||||
return headportraitInfo;
|
||||
}
|
||||
|
||||
public void setHeadportraitInfo(Object headportraitInfo) {
|
||||
this.headportraitInfo = headportraitInfo;
|
||||
}
|
||||
|
||||
public String getHeadportraitUrl() {
|
||||
return headportraitUrl;
|
||||
}
|
||||
|
||||
public void setHeadportraitUrl(String headportraitUrl) {
|
||||
this.headportraitUrl = headportraitUrl;
|
||||
}
|
||||
|
||||
public Object getUpdatePhoneTime() {
|
||||
return updatePhoneTime;
|
||||
}
|
||||
|
||||
public void setUpdatePhoneTime(Object updatePhoneTime) {
|
||||
this.updatePhoneTime = updatePhoneTime;
|
||||
}
|
||||
|
||||
public String getRegisterTime() {
|
||||
return registerTime;
|
||||
}
|
||||
|
||||
public void setRegisterTime(String registerTime) {
|
||||
this.registerTime = registerTime;
|
||||
}
|
||||
|
||||
public Object getIdcardPhotoInfo() {
|
||||
return idcardPhotoInfo;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoInfo(Object idcardPhotoInfo) {
|
||||
this.idcardPhotoInfo = idcardPhotoInfo;
|
||||
}
|
||||
|
||||
public String getIdcardPhotoUrl() {
|
||||
return idcardPhotoUrl;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoUrl(String idcardPhotoUrl) {
|
||||
this.idcardPhotoUrl = idcardPhotoUrl;
|
||||
}
|
||||
|
||||
public Object getIdcardPhotoBackInfo() {
|
||||
return idcardPhotoBackInfo;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoBackInfo(Object idcardPhotoBackInfo) {
|
||||
this.idcardPhotoBackInfo = idcardPhotoBackInfo;
|
||||
}
|
||||
|
||||
public String getIdcardPhotoBackUrl() {
|
||||
return idcardPhotoBackUrl;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoBackUrl(String idcardPhotoBackUrl) {
|
||||
this.idcardPhotoBackUrl = idcardPhotoBackUrl;
|
||||
}
|
||||
|
||||
public Object getIdcardPhotoHoldInfo() {
|
||||
return idcardPhotoHoldInfo;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoHoldInfo(Object idcardPhotoHoldInfo) {
|
||||
this.idcardPhotoHoldInfo = idcardPhotoHoldInfo;
|
||||
}
|
||||
|
||||
public String getIdcardPhotoHoldUrl() {
|
||||
return idcardPhotoHoldUrl;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoHoldUrl(String idcardPhotoHoldUrl) {
|
||||
this.idcardPhotoHoldUrl = idcardPhotoHoldUrl;
|
||||
}
|
||||
|
||||
public Object getCorporationIdcardPhotoInfo() {
|
||||
return corporationIdcardPhotoInfo;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoInfo(Object corporationIdcardPhotoInfo) {
|
||||
this.corporationIdcardPhotoInfo = corporationIdcardPhotoInfo;
|
||||
}
|
||||
|
||||
public String getCorporationIdcardPhotoUrl() {
|
||||
return corporationIdcardPhotoUrl;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoUrl(String corporationIdcardPhotoUrl) {
|
||||
this.corporationIdcardPhotoUrl = corporationIdcardPhotoUrl;
|
||||
}
|
||||
|
||||
public Object getCorporationIdcardPhotoBackInfo() {
|
||||
return corporationIdcardPhotoBackInfo;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoBackInfo(Object corporationIdcardPhotoBackInfo) {
|
||||
this.corporationIdcardPhotoBackInfo = corporationIdcardPhotoBackInfo;
|
||||
}
|
||||
|
||||
public String getCorporationIdcardPhotoBackUrl() {
|
||||
return corporationIdcardPhotoBackUrl;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoBackUrl(String corporationIdcardPhotoBackUrl) {
|
||||
this.corporationIdcardPhotoBackUrl = corporationIdcardPhotoBackUrl;
|
||||
}
|
||||
|
||||
public Object getCorporationIdcardPhotoHoldInfo() {
|
||||
return corporationIdcardPhotoHoldInfo;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoHoldInfo(Object corporationIdcardPhotoHoldInfo) {
|
||||
this.corporationIdcardPhotoHoldInfo = corporationIdcardPhotoHoldInfo;
|
||||
}
|
||||
|
||||
public String getCorporationIdcardPhotoHoldUrl() {
|
||||
return corporationIdcardPhotoHoldUrl;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoHoldUrl(String corporationIdcardPhotoHoldUrl) {
|
||||
this.corporationIdcardPhotoHoldUrl = corporationIdcardPhotoHoldUrl;
|
||||
}
|
||||
|
||||
public Object getBusinessLicenseInfo() {
|
||||
return businessLicenseInfo;
|
||||
}
|
||||
|
||||
public void setBusinessLicenseInfo(Object businessLicenseInfo) {
|
||||
this.businessLicenseInfo = businessLicenseInfo;
|
||||
}
|
||||
|
||||
public String getBusinessLicenseUrl() {
|
||||
return businessLicenseUrl;
|
||||
}
|
||||
|
||||
public void setBusinessLicenseUrl(String businessLicenseUrl) {
|
||||
this.businessLicenseUrl = businessLicenseUrl;
|
||||
}
|
||||
|
||||
public Object getWarrantInfo() {
|
||||
return warrantInfo;
|
||||
}
|
||||
|
||||
public void setWarrantInfo(Object warrantInfo) {
|
||||
this.warrantInfo = warrantInfo;
|
||||
}
|
||||
|
||||
public String getWarrantUrl() {
|
||||
return warrantUrl;
|
||||
}
|
||||
|
||||
public void setWarrantUrl(String warrantUrl) {
|
||||
this.warrantUrl = warrantUrl;
|
||||
}
|
||||
|
||||
public Object getChildren() {
|
||||
return children;
|
||||
}
|
||||
|
||||
public void setChildren(Object children) {
|
||||
this.children = children;
|
||||
}
|
||||
}
|
||||
}
|
||||
280
app/src/main/java/com/oneclouds/cargo/bean/BankCardListBean.java
Normal file
280
app/src/main/java/com/oneclouds/cargo/bean/BankCardListBean.java
Normal file
@ -0,0 +1,280 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/16 16:11
|
||||
* @description:
|
||||
*/
|
||||
public class BankCardListBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private List<RecordsDTO> records;
|
||||
private int total;
|
||||
private int size;
|
||||
private int current;
|
||||
private List<?> orders;
|
||||
private boolean searchCount;
|
||||
private int pages;
|
||||
|
||||
public List<RecordsDTO> getRecords() {
|
||||
return records;
|
||||
}
|
||||
|
||||
public void setRecords(List<RecordsDTO> records) {
|
||||
this.records = records;
|
||||
}
|
||||
|
||||
public int getTotal() {
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(int total) {
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
public void setSize(int size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public int getCurrent() {
|
||||
return current;
|
||||
}
|
||||
|
||||
public void setCurrent(int current) {
|
||||
this.current = current;
|
||||
}
|
||||
|
||||
public List<?> getOrders() {
|
||||
return orders;
|
||||
}
|
||||
|
||||
public void setOrders(List<?> orders) {
|
||||
this.orders = orders;
|
||||
}
|
||||
|
||||
public boolean isSearchCount() {
|
||||
return searchCount;
|
||||
}
|
||||
|
||||
public void setSearchCount(boolean searchCount) {
|
||||
this.searchCount = searchCount;
|
||||
}
|
||||
|
||||
public int getPages() {
|
||||
return pages;
|
||||
}
|
||||
|
||||
public void setPages(int pages) {
|
||||
this.pages = pages;
|
||||
}
|
||||
|
||||
public static class RecordsDTO {
|
||||
private int id;
|
||||
private Object bankId;
|
||||
private String bankName;
|
||||
private String cardNo;
|
||||
private String bankImgUrl;
|
||||
private int cardType;
|
||||
private int auditStatus;
|
||||
private int createUser;
|
||||
private String createUserName;
|
||||
private String createTime;
|
||||
private Object openBank;
|
||||
private Object companyName;
|
||||
private Object companyCode;
|
||||
private Object address;
|
||||
private Object phone;
|
||||
private int cardUserType;
|
||||
private Object userCompany;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Object getBankId() {
|
||||
return bankId;
|
||||
}
|
||||
|
||||
public void setBankId(Object bankId) {
|
||||
this.bankId = bankId;
|
||||
}
|
||||
|
||||
public String getBankName() {
|
||||
return bankName;
|
||||
}
|
||||
|
||||
public void setBankName(String bankName) {
|
||||
this.bankName = bankName;
|
||||
}
|
||||
|
||||
public String getCardNo() {
|
||||
return cardNo;
|
||||
}
|
||||
|
||||
public void setCardNo(String cardNo) {
|
||||
this.cardNo = cardNo;
|
||||
}
|
||||
|
||||
public String getBankImgUrl() {
|
||||
return bankImgUrl;
|
||||
}
|
||||
|
||||
public void setBankImgUrl(String bankImgUrl) {
|
||||
this.bankImgUrl = bankImgUrl;
|
||||
}
|
||||
|
||||
public int getCardType() {
|
||||
return cardType;
|
||||
}
|
||||
|
||||
public void setCardType(int cardType) {
|
||||
this.cardType = cardType;
|
||||
}
|
||||
|
||||
public int getAuditStatus() {
|
||||
return auditStatus;
|
||||
}
|
||||
|
||||
public void setAuditStatus(int auditStatus) {
|
||||
this.auditStatus = auditStatus;
|
||||
}
|
||||
|
||||
public int getCreateUser() {
|
||||
return createUser;
|
||||
}
|
||||
|
||||
public void setCreateUser(int createUser) {
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
public String getCreateUserName() {
|
||||
return createUserName;
|
||||
}
|
||||
|
||||
public void setCreateUserName(String createUserName) {
|
||||
this.createUserName = createUserName;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Object getOpenBank() {
|
||||
return openBank;
|
||||
}
|
||||
|
||||
public void setOpenBank(Object openBank) {
|
||||
this.openBank = openBank;
|
||||
}
|
||||
|
||||
public Object getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(Object companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public Object getCompanyCode() {
|
||||
return companyCode;
|
||||
}
|
||||
|
||||
public void setCompanyCode(Object companyCode) {
|
||||
this.companyCode = companyCode;
|
||||
}
|
||||
|
||||
public Object getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(Object address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public Object getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(Object phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public int getCardUserType() {
|
||||
return cardUserType;
|
||||
}
|
||||
|
||||
public void setCardUserType(int cardUserType) {
|
||||
this.cardUserType = cardUserType;
|
||||
}
|
||||
|
||||
public Object getUserCompany() {
|
||||
return userCompany;
|
||||
}
|
||||
|
||||
public void setUserCompany(Object userCompany) {
|
||||
this.userCompany = userCompany;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
56
app/src/main/java/com/oneclouds/cargo/bean/BaseBean.java
Normal file
56
app/src/main/java/com/oneclouds/cargo/bean/BaseBean.java
Normal file
@ -0,0 +1,56 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/7 14:28
|
||||
* @description:基础bean
|
||||
*/
|
||||
public class BaseBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private Object data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Object getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(Object data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,88 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/15 15:41
|
||||
* @description:
|
||||
*/
|
||||
public class BusinssTypeBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private List<DataDTO> data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public List<DataDTO> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataDTO> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int value;
|
||||
private String name;
|
||||
private String type;
|
||||
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
77
app/src/main/java/com/oneclouds/cargo/bean/CarBean.java
Normal file
77
app/src/main/java/com/oneclouds/cargo/bean/CarBean.java
Normal file
@ -0,0 +1,77 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @ClassName CarBean
|
||||
* @Author 用户
|
||||
* @Date 2022/5/18 11:46
|
||||
* @Description TODO
|
||||
*/
|
||||
public class CarBean implements Serializable {
|
||||
|
||||
|
||||
private Integer carId;
|
||||
private String carNum;
|
||||
private String carStatus;
|
||||
private String carType;
|
||||
private Integer driverId;
|
||||
private String driverName;
|
||||
private String driverPhone;
|
||||
|
||||
public Integer getCarId() {
|
||||
return carId;
|
||||
}
|
||||
|
||||
public void setCarId(Integer carId) {
|
||||
this.carId = carId;
|
||||
}
|
||||
|
||||
public String getCarNum() {
|
||||
return carNum;
|
||||
}
|
||||
|
||||
public void setCarNum(String carNum) {
|
||||
this.carNum = carNum;
|
||||
}
|
||||
|
||||
public String getCarStatus() {
|
||||
return carStatus;
|
||||
}
|
||||
|
||||
public void setCarStatus(String carStatus) {
|
||||
this.carStatus = carStatus;
|
||||
}
|
||||
|
||||
public String getCarType() {
|
||||
return carType;
|
||||
}
|
||||
|
||||
public void setCarType(String carType) {
|
||||
this.carType = carType;
|
||||
}
|
||||
|
||||
public Integer getDriverId() {
|
||||
return driverId;
|
||||
}
|
||||
|
||||
public void setDriverId(Integer driverId) {
|
||||
this.driverId = driverId;
|
||||
}
|
||||
|
||||
public String getDriverName() {
|
||||
return driverName;
|
||||
}
|
||||
|
||||
public void setDriverName(String driverName) {
|
||||
this.driverName = driverName;
|
||||
}
|
||||
|
||||
public String getDriverPhone() {
|
||||
return driverPhone;
|
||||
}
|
||||
|
||||
public void setDriverPhone(String driverPhone) {
|
||||
this.driverPhone = driverPhone;
|
||||
}
|
||||
}
|
||||
139
app/src/main/java/com/oneclouds/cargo/bean/CarTypeLongBean.java
Normal file
139
app/src/main/java/com/oneclouds/cargo/bean/CarTypeLongBean.java
Normal file
@ -0,0 +1,139 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/15 15:38
|
||||
* @description:
|
||||
*/
|
||||
public class CarTypeLongBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private List<LengthDTO> length;
|
||||
private List<TypeDTO> type;
|
||||
|
||||
public List<LengthDTO> getLength() {
|
||||
return length;
|
||||
}
|
||||
|
||||
public void setLength(List<LengthDTO> length) {
|
||||
this.length = length;
|
||||
}
|
||||
|
||||
public List<TypeDTO> getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(List<TypeDTO> type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public static class LengthDTO {
|
||||
private int value;
|
||||
private String name;
|
||||
private String type;
|
||||
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
|
||||
public static class TypeDTO {
|
||||
private int value;
|
||||
private String name;
|
||||
private String type;
|
||||
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,77 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/14 18:07
|
||||
* @description:
|
||||
*/
|
||||
public class CateAlListBean {
|
||||
|
||||
private int code;
|
||||
private DataDTO data;
|
||||
private String msg;
|
||||
private int res;
|
||||
private boolean success;
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int id;
|
||||
private String name;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
159
app/src/main/java/com/oneclouds/cargo/bean/CateListBean.java
Normal file
159
app/src/main/java/com/oneclouds/cargo/bean/CateListBean.java
Normal file
@ -0,0 +1,159 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/14 18:04
|
||||
* @description:
|
||||
*/
|
||||
public class CateListBean {
|
||||
|
||||
private int code;
|
||||
private DataDTO data;
|
||||
private String msg;
|
||||
private int res;
|
||||
private boolean success;
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private String cateName;
|
||||
private String createTime;
|
||||
private int id;
|
||||
private int isDeleted;
|
||||
private int isDisabled;
|
||||
private int pid;
|
||||
private String pname;
|
||||
private String remarks;
|
||||
private int shipperId;
|
||||
private String shipperName;
|
||||
private String updateTime;
|
||||
|
||||
public String getCateName() {
|
||||
return cateName;
|
||||
}
|
||||
|
||||
public void setCateName(String cateName) {
|
||||
this.cateName = cateName;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getIsDeleted() {
|
||||
return isDeleted;
|
||||
}
|
||||
|
||||
public void setIsDeleted(int isDeleted) {
|
||||
this.isDeleted = isDeleted;
|
||||
}
|
||||
|
||||
public int getIsDisabled() {
|
||||
return isDisabled;
|
||||
}
|
||||
|
||||
public void setIsDisabled(int isDisabled) {
|
||||
this.isDisabled = isDisabled;
|
||||
}
|
||||
|
||||
public int getPid() {
|
||||
return pid;
|
||||
}
|
||||
|
||||
public void setPid(int pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
|
||||
public String getPname() {
|
||||
return pname;
|
||||
}
|
||||
|
||||
public void setPname(String pname) {
|
||||
this.pname = pname;
|
||||
}
|
||||
|
||||
public String getRemarks() {
|
||||
return remarks;
|
||||
}
|
||||
|
||||
public void setRemarks(String remarks) {
|
||||
this.remarks = remarks;
|
||||
}
|
||||
|
||||
public int getShipperId() {
|
||||
return shipperId;
|
||||
}
|
||||
|
||||
public void setShipperId(int shipperId) {
|
||||
this.shipperId = shipperId;
|
||||
}
|
||||
|
||||
public String getShipperName() {
|
||||
return shipperName;
|
||||
}
|
||||
|
||||
public void setShipperName(String shipperName) {
|
||||
this.shipperName = shipperName;
|
||||
}
|
||||
|
||||
public String getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(String updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
320
app/src/main/java/com/oneclouds/cargo/bean/CompanyInfoBean.java
Normal file
320
app/src/main/java/com/oneclouds/cargo/bean/CompanyInfoBean.java
Normal file
@ -0,0 +1,320 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @ClassName CompanyInfoBean
|
||||
* @Author 用户
|
||||
* @Date 2022/7/11 17:26
|
||||
* @Description TODO
|
||||
*/
|
||||
public class CompanyInfoBean implements Serializable {
|
||||
|
||||
|
||||
private String addressDetail;
|
||||
private String applyTime;
|
||||
private String area;
|
||||
private String auditStatus;
|
||||
private String auditTime;
|
||||
private String businessLicense;
|
||||
private String businessLicenseStatus;
|
||||
private String city;
|
||||
private String code;
|
||||
private String companyShorterName;
|
||||
private String contactName;
|
||||
private String contactPhone;
|
||||
private String corporationIdcard;
|
||||
private String corporationIdcardPhoto;
|
||||
private String corporationIdcardPhotoBack;
|
||||
private String corporationIdcardPhotoHold;
|
||||
private String corporationIdcardValidity;
|
||||
private String corporationName;
|
||||
private String corporationPhone;
|
||||
private String corporationStatus;
|
||||
private String direction;
|
||||
private String driverTax;
|
||||
private String id;
|
||||
private String idcard;
|
||||
private String idcardPhoto;
|
||||
private String idcardPhotoBack;
|
||||
private String idcardPhotoHold;
|
||||
private String idcardStatus;
|
||||
private String idcardValidity;
|
||||
private String province;
|
||||
private String realCompanyName;
|
||||
private String reason;
|
||||
private String userId;
|
||||
private String warrant;
|
||||
|
||||
public String getAddressDetail() {
|
||||
return addressDetail;
|
||||
}
|
||||
|
||||
public void setAddressDetail(String addressDetail) {
|
||||
this.addressDetail = addressDetail;
|
||||
}
|
||||
|
||||
public String getApplyTime() {
|
||||
return applyTime;
|
||||
}
|
||||
|
||||
public void setApplyTime(String applyTime) {
|
||||
this.applyTime = applyTime;
|
||||
}
|
||||
|
||||
public String getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(String area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public String getAuditStatus() {
|
||||
return auditStatus;
|
||||
}
|
||||
|
||||
public void setAuditStatus(String auditStatus) {
|
||||
this.auditStatus = auditStatus;
|
||||
}
|
||||
|
||||
public String getAuditTime() {
|
||||
return auditTime;
|
||||
}
|
||||
|
||||
public void setAuditTime(String auditTime) {
|
||||
this.auditTime = auditTime;
|
||||
}
|
||||
|
||||
public String getBusinessLicense() {
|
||||
return businessLicense;
|
||||
}
|
||||
|
||||
public void setBusinessLicense(String businessLicense) {
|
||||
this.businessLicense = businessLicense;
|
||||
}
|
||||
|
||||
public String getBusinessLicenseStatus() {
|
||||
return businessLicenseStatus;
|
||||
}
|
||||
|
||||
public void setBusinessLicenseStatus(String businessLicenseStatus) {
|
||||
this.businessLicenseStatus = businessLicenseStatus;
|
||||
}
|
||||
|
||||
public String getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(String city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getCompanyShorterName() {
|
||||
return companyShorterName;
|
||||
}
|
||||
|
||||
public void setCompanyShorterName(String companyShorterName) {
|
||||
this.companyShorterName = companyShorterName;
|
||||
}
|
||||
|
||||
public String getContactName() {
|
||||
return contactName;
|
||||
}
|
||||
|
||||
public void setContactName(String contactName) {
|
||||
this.contactName = contactName;
|
||||
}
|
||||
|
||||
public String getContactPhone() {
|
||||
return contactPhone;
|
||||
}
|
||||
|
||||
public void setContactPhone(String contactPhone) {
|
||||
this.contactPhone = contactPhone;
|
||||
}
|
||||
|
||||
public String getCorporationIdcard() {
|
||||
return corporationIdcard;
|
||||
}
|
||||
|
||||
public void setCorporationIdcard(String corporationIdcard) {
|
||||
this.corporationIdcard = corporationIdcard;
|
||||
}
|
||||
|
||||
public String getCorporationIdcardPhoto() {
|
||||
return corporationIdcardPhoto;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhoto(String corporationIdcardPhoto) {
|
||||
this.corporationIdcardPhoto = corporationIdcardPhoto;
|
||||
}
|
||||
|
||||
public String getCorporationIdcardPhotoBack() {
|
||||
return corporationIdcardPhotoBack;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoBack(String corporationIdcardPhotoBack) {
|
||||
this.corporationIdcardPhotoBack = corporationIdcardPhotoBack;
|
||||
}
|
||||
|
||||
public String getCorporationIdcardPhotoHold() {
|
||||
return corporationIdcardPhotoHold;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoHold(String corporationIdcardPhotoHold) {
|
||||
this.corporationIdcardPhotoHold = corporationIdcardPhotoHold;
|
||||
}
|
||||
|
||||
public String getCorporationIdcardValidity() {
|
||||
return corporationIdcardValidity;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardValidity(String corporationIdcardValidity) {
|
||||
this.corporationIdcardValidity = corporationIdcardValidity;
|
||||
}
|
||||
|
||||
public String getCorporationName() {
|
||||
return corporationName;
|
||||
}
|
||||
|
||||
public void setCorporationName(String corporationName) {
|
||||
this.corporationName = corporationName;
|
||||
}
|
||||
|
||||
public String getCorporationPhone() {
|
||||
return corporationPhone;
|
||||
}
|
||||
|
||||
public void setCorporationPhone(String corporationPhone) {
|
||||
this.corporationPhone = corporationPhone;
|
||||
}
|
||||
|
||||
public String getCorporationStatus() {
|
||||
return corporationStatus;
|
||||
}
|
||||
|
||||
public void setCorporationStatus(String corporationStatus) {
|
||||
this.corporationStatus = corporationStatus;
|
||||
}
|
||||
|
||||
public String getDirection() {
|
||||
return direction;
|
||||
}
|
||||
|
||||
public void setDirection(String direction) {
|
||||
this.direction = direction;
|
||||
}
|
||||
|
||||
public String getDriverTax() {
|
||||
return driverTax;
|
||||
}
|
||||
|
||||
public void setDriverTax(String driverTax) {
|
||||
this.driverTax = driverTax;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getIdcard() {
|
||||
return idcard;
|
||||
}
|
||||
|
||||
public void setIdcard(String idcard) {
|
||||
this.idcard = idcard;
|
||||
}
|
||||
|
||||
public String getIdcardPhoto() {
|
||||
return idcardPhoto;
|
||||
}
|
||||
|
||||
public void setIdcardPhoto(String idcardPhoto) {
|
||||
this.idcardPhoto = idcardPhoto;
|
||||
}
|
||||
|
||||
public String getIdcardPhotoBack() {
|
||||
return idcardPhotoBack;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoBack(String idcardPhotoBack) {
|
||||
this.idcardPhotoBack = idcardPhotoBack;
|
||||
}
|
||||
|
||||
public String getIdcardPhotoHold() {
|
||||
return idcardPhotoHold;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoHold(String idcardPhotoHold) {
|
||||
this.idcardPhotoHold = idcardPhotoHold;
|
||||
}
|
||||
|
||||
public String getIdcardStatus() {
|
||||
return idcardStatus;
|
||||
}
|
||||
|
||||
public void setIdcardStatus(String idcardStatus) {
|
||||
this.idcardStatus = idcardStatus;
|
||||
}
|
||||
|
||||
public String getIdcardValidity() {
|
||||
return idcardValidity;
|
||||
}
|
||||
|
||||
public void setIdcardValidity(String idcardValidity) {
|
||||
this.idcardValidity = idcardValidity;
|
||||
}
|
||||
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getRealCompanyName() {
|
||||
return realCompanyName;
|
||||
}
|
||||
|
||||
public void setRealCompanyName(String realCompanyName) {
|
||||
this.realCompanyName = realCompanyName;
|
||||
}
|
||||
|
||||
public String getReason() {
|
||||
return reason;
|
||||
}
|
||||
|
||||
public void setReason(String reason) {
|
||||
this.reason = reason;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getWarrant() {
|
||||
return warrant;
|
||||
}
|
||||
|
||||
public void setWarrant(String warrant) {
|
||||
this.warrant = warrant;
|
||||
}
|
||||
}
|
||||
151
app/src/main/java/com/oneclouds/cargo/bean/ComplaintBean.java
Normal file
151
app/src/main/java/com/oneclouds/cargo/bean/ComplaintBean.java
Normal file
@ -0,0 +1,151 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/30 19:48
|
||||
* @description:
|
||||
*/
|
||||
public class ComplaintBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private List<DataDTO> data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public List<DataDTO> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataDTO> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int waybillId;
|
||||
private String content;
|
||||
private Object listImgUrl;
|
||||
private int type;
|
||||
private int status;
|
||||
private String handleContent;
|
||||
private int handleUser;
|
||||
private String handleTime;
|
||||
private int appraiserId;
|
||||
private Object folderId;
|
||||
|
||||
public int getWaybillId() {
|
||||
return waybillId;
|
||||
}
|
||||
|
||||
public void setWaybillId(int waybillId) {
|
||||
this.waybillId = waybillId;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public Object getListImgUrl() {
|
||||
return listImgUrl;
|
||||
}
|
||||
|
||||
public void setListImgUrl(Object listImgUrl) {
|
||||
this.listImgUrl = listImgUrl;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getHandleContent() {
|
||||
return handleContent;
|
||||
}
|
||||
|
||||
public void setHandleContent(String handleContent) {
|
||||
this.handleContent = handleContent;
|
||||
}
|
||||
|
||||
public int getHandleUser() {
|
||||
return handleUser;
|
||||
}
|
||||
|
||||
public void setHandleUser(int handleUser) {
|
||||
this.handleUser = handleUser;
|
||||
}
|
||||
|
||||
public String getHandleTime() {
|
||||
return handleTime;
|
||||
}
|
||||
|
||||
public void setHandleTime(String handleTime) {
|
||||
this.handleTime = handleTime;
|
||||
}
|
||||
|
||||
public int getAppraiserId() {
|
||||
return appraiserId;
|
||||
}
|
||||
|
||||
public void setAppraiserId(int appraiserId) {
|
||||
this.appraiserId = appraiserId;
|
||||
}
|
||||
|
||||
public Object getFolderId() {
|
||||
return folderId;
|
||||
}
|
||||
|
||||
public void setFolderId(Object folderId) {
|
||||
this.folderId = folderId;
|
||||
}
|
||||
}
|
||||
}
|
||||
124
app/src/main/java/com/oneclouds/cargo/bean/ConfigBean.java
Normal file
124
app/src/main/java/com/oneclouds/cargo/bean/ConfigBean.java
Normal file
@ -0,0 +1,124 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/11 11:53
|
||||
* @description:
|
||||
*/
|
||||
public class ConfigBean {
|
||||
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
|
||||
private String serviceMobile;
|
||||
private String privateUrl;
|
||||
private String userUrl;
|
||||
private String contractUrl;
|
||||
private String startImageUrl;
|
||||
private String securityUrl;
|
||||
private String shipperPrivateUrl;
|
||||
|
||||
public String getShipperPrivateUrl() {
|
||||
return shipperPrivateUrl == null ? "" : shipperPrivateUrl;
|
||||
}
|
||||
|
||||
public void setShipperPrivateUrl(String shipperPrivateUrl) {
|
||||
this.shipperPrivateUrl = shipperPrivateUrl;
|
||||
}
|
||||
|
||||
public String getServiceMobile() {
|
||||
return serviceMobile;
|
||||
}
|
||||
|
||||
public void setServiceMobile(String serviceMobile) {
|
||||
this.serviceMobile = serviceMobile;
|
||||
}
|
||||
|
||||
public String getPrivateUrl() {
|
||||
return privateUrl;
|
||||
}
|
||||
|
||||
public void setPrivateUrl(String privateUrl) {
|
||||
this.privateUrl = privateUrl;
|
||||
}
|
||||
|
||||
public String getUserUrl() {
|
||||
return userUrl;
|
||||
}
|
||||
|
||||
public void setUserUrl(String userUrl) {
|
||||
this.userUrl = userUrl;
|
||||
}
|
||||
|
||||
public String getContractUrl() {
|
||||
return contractUrl;
|
||||
}
|
||||
|
||||
public void setContractUrl(String contractUrl) {
|
||||
this.contractUrl = contractUrl;
|
||||
}
|
||||
|
||||
public String getStartImageUrl() {
|
||||
return startImageUrl;
|
||||
}
|
||||
|
||||
public void setStartImageUrl(String startImageUrl) {
|
||||
this.startImageUrl = startImageUrl;
|
||||
}
|
||||
|
||||
public String getSecurityUrl() {
|
||||
return securityUrl;
|
||||
}
|
||||
|
||||
public void setSecurityUrl(String securityUrl) {
|
||||
this.securityUrl = securityUrl;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,68 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/16 16:41
|
||||
* @description:
|
||||
*/
|
||||
public class ContractsBean {
|
||||
|
||||
private int code;
|
||||
private String msg;
|
||||
private boolean success;
|
||||
private DataDTO data;
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private String bidsSnglFlgCd;
|
||||
private String childAcctNo;
|
||||
|
||||
public String getBidsSnglFlgCd() {
|
||||
return bidsSnglFlgCd;
|
||||
}
|
||||
|
||||
public void setBidsSnglFlgCd(String bidsSnglFlgCd) {
|
||||
this.bidsSnglFlgCd = bidsSnglFlgCd;
|
||||
}
|
||||
|
||||
public String getChildAcctNo() {
|
||||
return childAcctNo;
|
||||
}
|
||||
|
||||
public void setChildAcctNo(String childAcctNo) {
|
||||
this.childAcctNo = childAcctNo;
|
||||
}
|
||||
}
|
||||
}
|
||||
143
app/src/main/java/com/oneclouds/cargo/bean/EvaluateBean.java
Normal file
143
app/src/main/java/com/oneclouds/cargo/bean/EvaluateBean.java
Normal file
@ -0,0 +1,143 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/22 15:09
|
||||
* @description:
|
||||
*/
|
||||
public class EvaluateBean {
|
||||
|
||||
|
||||
private int code;
|
||||
private List<DataDTO> data;
|
||||
private String msg;
|
||||
private int res;
|
||||
private boolean success;
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public List<DataDTO> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataDTO> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int appraiserId;
|
||||
private int attitudeScore;
|
||||
private String content;
|
||||
private Object folderId;
|
||||
private List<?> listImgUrl;
|
||||
private int multipleScore;
|
||||
private int status;
|
||||
private int type;
|
||||
private int waybillId;
|
||||
|
||||
public int getAppraiserId() {
|
||||
return appraiserId;
|
||||
}
|
||||
|
||||
public void setAppraiserId(int appraiserId) {
|
||||
this.appraiserId = appraiserId;
|
||||
}
|
||||
|
||||
public int getAttitudeScore() {
|
||||
return attitudeScore;
|
||||
}
|
||||
|
||||
public void setAttitudeScore(int attitudeScore) {
|
||||
this.attitudeScore = attitudeScore;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public Object getFolderId() {
|
||||
return folderId;
|
||||
}
|
||||
|
||||
public void setFolderId(Object folderId) {
|
||||
this.folderId = folderId;
|
||||
}
|
||||
|
||||
public List<?> getListImgUrl() {
|
||||
return listImgUrl;
|
||||
}
|
||||
|
||||
public void setListImgUrl(List<?> listImgUrl) {
|
||||
this.listImgUrl = listImgUrl;
|
||||
}
|
||||
|
||||
public int getMultipleScore() {
|
||||
return multipleScore;
|
||||
}
|
||||
|
||||
public void setMultipleScore(int multipleScore) {
|
||||
this.multipleScore = multipleScore;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getWaybillId() {
|
||||
return waybillId;
|
||||
}
|
||||
|
||||
public void setWaybillId(int waybillId) {
|
||||
this.waybillId = waybillId;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,187 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/23 11:35
|
||||
* @description:
|
||||
*/
|
||||
public class InvoiceHeaderBean {
|
||||
|
||||
private int code;
|
||||
private DataDTO data;
|
||||
private String msg;
|
||||
private int res;
|
||||
private boolean success;
|
||||
|
||||
public int getCode() {
|
||||
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private String address;
|
||||
private int area;
|
||||
private String bankAccount;
|
||||
private String bankName;
|
||||
private int city;
|
||||
private String createTime;
|
||||
private int groupId;
|
||||
private int id;
|
||||
private String phone;
|
||||
private int province;
|
||||
private int shipperId;
|
||||
private String shipperName;
|
||||
private String taxNo;
|
||||
private String title;
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public int getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(int area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public String getBankAccount() {
|
||||
return bankAccount;
|
||||
}
|
||||
|
||||
public void setBankAccount(String bankAccount) {
|
||||
this.bankAccount = bankAccount;
|
||||
}
|
||||
|
||||
public String getBankName() {
|
||||
return bankName;
|
||||
}
|
||||
|
||||
public void setBankName(String bankName) {
|
||||
this.bankName = bankName;
|
||||
}
|
||||
|
||||
public int getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(int city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public int getGroupId() {
|
||||
return groupId;
|
||||
}
|
||||
|
||||
public void setGroupId(int groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public int getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(int province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public int getShipperId() {
|
||||
return shipperId;
|
||||
}
|
||||
|
||||
public void setShipperId(int shipperId) {
|
||||
this.shipperId = shipperId;
|
||||
}
|
||||
|
||||
public String getShipperName() {
|
||||
return shipperName;
|
||||
}
|
||||
|
||||
public void setShipperName(String shipperName) {
|
||||
this.shipperName = shipperName;
|
||||
}
|
||||
|
||||
public String getTaxNo() {
|
||||
return taxNo;
|
||||
}
|
||||
|
||||
public void setTaxNo(String taxNo) {
|
||||
this.taxNo = taxNo;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
607
app/src/main/java/com/oneclouds/cargo/bean/InvoiceListBean.java
Normal file
607
app/src/main/java/com/oneclouds/cargo/bean/InvoiceListBean.java
Normal file
@ -0,0 +1,607 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/26 18:16
|
||||
* @description:发票申请记录
|
||||
*/
|
||||
public class InvoiceListBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private List<RecordsDTO> records;
|
||||
private int total;
|
||||
private int size;
|
||||
private int current;
|
||||
private List<?> orders;
|
||||
private boolean searchCount;
|
||||
private int pages;
|
||||
|
||||
public List<RecordsDTO> getRecords() {
|
||||
return records;
|
||||
}
|
||||
|
||||
public void setRecords(List<RecordsDTO> records) {
|
||||
this.records = records;
|
||||
}
|
||||
|
||||
public int getTotal() {
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(int total) {
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
public void setSize(int size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public int getCurrent() {
|
||||
return current;
|
||||
}
|
||||
|
||||
public void setCurrent(int current) {
|
||||
this.current = current;
|
||||
}
|
||||
|
||||
public List<?> getOrders() {
|
||||
return orders;
|
||||
}
|
||||
|
||||
public void setOrders(List<?> orders) {
|
||||
this.orders = orders;
|
||||
}
|
||||
|
||||
public boolean isSearchCount() {
|
||||
return searchCount;
|
||||
}
|
||||
|
||||
public void setSearchCount(boolean searchCount) {
|
||||
this.searchCount = searchCount;
|
||||
}
|
||||
|
||||
public int getPages() {
|
||||
return pages;
|
||||
}
|
||||
|
||||
public void setPages(int pages) {
|
||||
this.pages = pages;
|
||||
}
|
||||
|
||||
public static class RecordsDTO {
|
||||
private int page;
|
||||
private int limit;
|
||||
private int id;
|
||||
private int nature;
|
||||
private String title;
|
||||
private String taxNo;
|
||||
private Object bankName;
|
||||
private Object bankAccount;
|
||||
private Object address;
|
||||
private Object phone;
|
||||
private String code;
|
||||
private String number;
|
||||
private String receiveName;
|
||||
private String receiveAddress;
|
||||
private Object receiveCode;
|
||||
private String receivePhone;
|
||||
private Object sellerTitleId;
|
||||
private Object sellerTitle;
|
||||
private Object sellerTaxno;
|
||||
private Object sellerBankName;
|
||||
private Object sellerBankAccount;
|
||||
private Object sellerAddress;
|
||||
private Object sellerPhone;
|
||||
private Object transportCompany;
|
||||
private Object transportNum;
|
||||
private int makeStatus;
|
||||
private double applyMoney;
|
||||
private int taxMoney;
|
||||
private String applyTime;
|
||||
private Object createTime;
|
||||
private String remark;
|
||||
private Object makeRemark;
|
||||
private List<OrderListDTO> orderList;
|
||||
|
||||
public int getPage() {
|
||||
return page;
|
||||
}
|
||||
|
||||
public void setPage(int page) {
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
public int getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setLimit(int limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getNature() {
|
||||
return nature;
|
||||
}
|
||||
|
||||
public void setNature(int nature) {
|
||||
this.nature = nature;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getTaxNo() {
|
||||
return taxNo;
|
||||
}
|
||||
|
||||
public void setTaxNo(String taxNo) {
|
||||
this.taxNo = taxNo;
|
||||
}
|
||||
|
||||
public Object getBankName() {
|
||||
return bankName;
|
||||
}
|
||||
|
||||
public void setBankName(Object bankName) {
|
||||
this.bankName = bankName;
|
||||
}
|
||||
|
||||
public Object getBankAccount() {
|
||||
return bankAccount;
|
||||
}
|
||||
|
||||
public void setBankAccount(Object bankAccount) {
|
||||
this.bankAccount = bankAccount;
|
||||
}
|
||||
|
||||
public Object getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(Object address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public Object getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(Object phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public void setNumber(String number) {
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public String getReceiveName() {
|
||||
return receiveName;
|
||||
}
|
||||
|
||||
public void setReceiveName(String receiveName) {
|
||||
this.receiveName = receiveName;
|
||||
}
|
||||
|
||||
public String getReceiveAddress() {
|
||||
return receiveAddress;
|
||||
}
|
||||
|
||||
public void setReceiveAddress(String receiveAddress) {
|
||||
this.receiveAddress = receiveAddress;
|
||||
}
|
||||
|
||||
public Object getReceiveCode() {
|
||||
return receiveCode;
|
||||
}
|
||||
|
||||
public void setReceiveCode(Object receiveCode) {
|
||||
this.receiveCode = receiveCode;
|
||||
}
|
||||
|
||||
public String getReceivePhone() {
|
||||
return receivePhone;
|
||||
}
|
||||
|
||||
public void setReceivePhone(String receivePhone) {
|
||||
this.receivePhone = receivePhone;
|
||||
}
|
||||
|
||||
public Object getSellerTitleId() {
|
||||
return sellerTitleId;
|
||||
}
|
||||
|
||||
public void setSellerTitleId(Object sellerTitleId) {
|
||||
this.sellerTitleId = sellerTitleId;
|
||||
}
|
||||
|
||||
public Object getSellerTitle() {
|
||||
return sellerTitle;
|
||||
}
|
||||
|
||||
public void setSellerTitle(Object sellerTitle) {
|
||||
this.sellerTitle = sellerTitle;
|
||||
}
|
||||
|
||||
public Object getSellerTaxno() {
|
||||
return sellerTaxno;
|
||||
}
|
||||
|
||||
public void setSellerTaxno(Object sellerTaxno) {
|
||||
this.sellerTaxno = sellerTaxno;
|
||||
}
|
||||
|
||||
public Object getSellerBankName() {
|
||||
return sellerBankName;
|
||||
}
|
||||
|
||||
public void setSellerBankName(Object sellerBankName) {
|
||||
this.sellerBankName = sellerBankName;
|
||||
}
|
||||
|
||||
public Object getSellerBankAccount() {
|
||||
return sellerBankAccount;
|
||||
}
|
||||
|
||||
public void setSellerBankAccount(Object sellerBankAccount) {
|
||||
this.sellerBankAccount = sellerBankAccount;
|
||||
}
|
||||
|
||||
public Object getSellerAddress() {
|
||||
return sellerAddress;
|
||||
}
|
||||
|
||||
public void setSellerAddress(Object sellerAddress) {
|
||||
this.sellerAddress = sellerAddress;
|
||||
}
|
||||
|
||||
public Object getSellerPhone() {
|
||||
return sellerPhone;
|
||||
}
|
||||
|
||||
public void setSellerPhone(Object sellerPhone) {
|
||||
this.sellerPhone = sellerPhone;
|
||||
}
|
||||
|
||||
public Object getTransportCompany() {
|
||||
return transportCompany;
|
||||
}
|
||||
|
||||
public void setTransportCompany(Object transportCompany) {
|
||||
this.transportCompany = transportCompany;
|
||||
}
|
||||
|
||||
public Object getTransportNum() {
|
||||
return transportNum;
|
||||
}
|
||||
|
||||
public void setTransportNum(Object transportNum) {
|
||||
this.transportNum = transportNum;
|
||||
}
|
||||
|
||||
public int getMakeStatus() {
|
||||
return makeStatus;
|
||||
}
|
||||
|
||||
public void setMakeStatus(int makeStatus) {
|
||||
this.makeStatus = makeStatus;
|
||||
}
|
||||
|
||||
public double getApplyMoney() {
|
||||
return applyMoney;
|
||||
}
|
||||
|
||||
public void setApplyMoney(double applyMoney) {
|
||||
this.applyMoney = applyMoney;
|
||||
}
|
||||
|
||||
public int getTaxMoney() {
|
||||
return taxMoney;
|
||||
}
|
||||
|
||||
public void setTaxMoney(int taxMoney) {
|
||||
this.taxMoney = taxMoney;
|
||||
}
|
||||
|
||||
public String getApplyTime() {
|
||||
return applyTime;
|
||||
}
|
||||
|
||||
public void setApplyTime(String applyTime) {
|
||||
this.applyTime = applyTime;
|
||||
}
|
||||
|
||||
public Object getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Object createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Object getMakeRemark() {
|
||||
return makeRemark;
|
||||
}
|
||||
|
||||
public void setMakeRemark(Object makeRemark) {
|
||||
this.makeRemark = makeRemark;
|
||||
}
|
||||
|
||||
public List<OrderListDTO> getOrderList() {
|
||||
return orderList;
|
||||
}
|
||||
|
||||
public void setOrderList(List<OrderListDTO> orderList) {
|
||||
this.orderList = orderList;
|
||||
}
|
||||
|
||||
public static class OrderListDTO {
|
||||
private Object id;
|
||||
private String orderNum;
|
||||
private String waybillNum;
|
||||
private Object status;
|
||||
private Object auditStatus;
|
||||
private Object loadingProvince;
|
||||
private Object loadingCity;
|
||||
private Object loadingArea;
|
||||
private Object loadingProvinceCityArea;
|
||||
private Object loadingDeadline;
|
||||
private Object receiverProvince;
|
||||
private Object receiverCity;
|
||||
private Object receiverArea;
|
||||
private Object receiverProvinceCityArea;
|
||||
private Object receiverDeadline;
|
||||
private String submitTime;
|
||||
private Object isTrailer;
|
||||
private Object shipperName;
|
||||
private double totalGoodsPrice;
|
||||
private Object totalGoodsNum;
|
||||
|
||||
public Object getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Object id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getOrderNum() {
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(String orderNum) {
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
public String getWaybillNum() {
|
||||
return waybillNum;
|
||||
}
|
||||
|
||||
public void setWaybillNum(String waybillNum) {
|
||||
this.waybillNum = waybillNum;
|
||||
}
|
||||
|
||||
public Object getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Object status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Object getAuditStatus() {
|
||||
return auditStatus;
|
||||
}
|
||||
|
||||
public void setAuditStatus(Object auditStatus) {
|
||||
this.auditStatus = auditStatus;
|
||||
}
|
||||
|
||||
public Object getLoadingProvince() {
|
||||
return loadingProvince;
|
||||
}
|
||||
|
||||
public void setLoadingProvince(Object loadingProvince) {
|
||||
this.loadingProvince = loadingProvince;
|
||||
}
|
||||
|
||||
public Object getLoadingCity() {
|
||||
return loadingCity;
|
||||
}
|
||||
|
||||
public void setLoadingCity(Object loadingCity) {
|
||||
this.loadingCity = loadingCity;
|
||||
}
|
||||
|
||||
public Object getLoadingArea() {
|
||||
return loadingArea;
|
||||
}
|
||||
|
||||
public void setLoadingArea(Object loadingArea) {
|
||||
this.loadingArea = loadingArea;
|
||||
}
|
||||
|
||||
public Object getLoadingProvinceCityArea() {
|
||||
return loadingProvinceCityArea;
|
||||
}
|
||||
|
||||
public void setLoadingProvinceCityArea(Object loadingProvinceCityArea) {
|
||||
this.loadingProvinceCityArea = loadingProvinceCityArea;
|
||||
}
|
||||
|
||||
public Object getLoadingDeadline() {
|
||||
return loadingDeadline;
|
||||
}
|
||||
|
||||
public void setLoadingDeadline(Object loadingDeadline) {
|
||||
this.loadingDeadline = loadingDeadline;
|
||||
}
|
||||
|
||||
public Object getReceiverProvince() {
|
||||
return receiverProvince;
|
||||
}
|
||||
|
||||
public void setReceiverProvince(Object receiverProvince) {
|
||||
this.receiverProvince = receiverProvince;
|
||||
}
|
||||
|
||||
public Object getReceiverCity() {
|
||||
return receiverCity;
|
||||
}
|
||||
|
||||
public void setReceiverCity(Object receiverCity) {
|
||||
this.receiverCity = receiverCity;
|
||||
}
|
||||
|
||||
public Object getReceiverArea() {
|
||||
return receiverArea;
|
||||
}
|
||||
|
||||
public void setReceiverArea(Object receiverArea) {
|
||||
this.receiverArea = receiverArea;
|
||||
}
|
||||
|
||||
public Object getReceiverProvinceCityArea() {
|
||||
return receiverProvinceCityArea;
|
||||
}
|
||||
|
||||
public void setReceiverProvinceCityArea(Object receiverProvinceCityArea) {
|
||||
this.receiverProvinceCityArea = receiverProvinceCityArea;
|
||||
}
|
||||
|
||||
public Object getReceiverDeadline() {
|
||||
return receiverDeadline;
|
||||
}
|
||||
|
||||
public void setReceiverDeadline(Object receiverDeadline) {
|
||||
this.receiverDeadline = receiverDeadline;
|
||||
}
|
||||
|
||||
public String getSubmitTime() {
|
||||
return submitTime;
|
||||
}
|
||||
|
||||
public void setSubmitTime(String submitTime) {
|
||||
this.submitTime = submitTime;
|
||||
}
|
||||
|
||||
public Object getIsTrailer() {
|
||||
return isTrailer;
|
||||
}
|
||||
|
||||
public void setIsTrailer(Object isTrailer) {
|
||||
this.isTrailer = isTrailer;
|
||||
}
|
||||
|
||||
public Object getShipperName() {
|
||||
return shipperName;
|
||||
}
|
||||
|
||||
public void setShipperName(Object shipperName) {
|
||||
this.shipperName = shipperName;
|
||||
}
|
||||
|
||||
public double getTotalGoodsPrice() {
|
||||
return totalGoodsPrice;
|
||||
}
|
||||
|
||||
public void setTotalGoodsPrice(double totalGoodsPrice) {
|
||||
this.totalGoodsPrice = totalGoodsPrice;
|
||||
}
|
||||
|
||||
public Object getTotalGoodsNum() {
|
||||
return totalGoodsNum;
|
||||
}
|
||||
|
||||
public void setTotalGoodsNum(Object totalGoodsNum) {
|
||||
this.totalGoodsNum = totalGoodsNum;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
275
app/src/main/java/com/oneclouds/cargo/bean/LoginBean.java
Normal file
275
app/src/main/java/com/oneclouds/cargo/bean/LoginBean.java
Normal file
@ -0,0 +1,275 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/2 10:24
|
||||
* @description:
|
||||
*/
|
||||
public class LoginBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private String token;
|
||||
private int id;
|
||||
private int roleId;
|
||||
private String uname;
|
||||
private String registerPhone;
|
||||
private String rname;
|
||||
private Object companyName;
|
||||
private Object account;
|
||||
private Object credit;
|
||||
private Object surplusCredit;
|
||||
private Object etcBalance;
|
||||
private Object oliBalance;
|
||||
private Object invoiceMoney;
|
||||
private String headportraitUrl;
|
||||
private String salt;
|
||||
private String jumpUrl;
|
||||
private Object auditStatus;
|
||||
private Object distance;
|
||||
private Object waybillNum;
|
||||
private Object idCardValidity;
|
||||
private Object driverValidity;
|
||||
private Object qualificationValidity;
|
||||
private Object isCar;
|
||||
private Object qrcodeUrl;
|
||||
|
||||
public String getToken() {
|
||||
return token;
|
||||
}
|
||||
|
||||
public void setToken(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getRoleId() {
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(int roleId) {
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public String getUname() {
|
||||
return uname;
|
||||
}
|
||||
|
||||
public void setUname(String uname) {
|
||||
this.uname = uname;
|
||||
}
|
||||
|
||||
public String getRegisterPhone() {
|
||||
return registerPhone;
|
||||
}
|
||||
|
||||
public void setRegisterPhone(String registerPhone) {
|
||||
this.registerPhone = registerPhone;
|
||||
}
|
||||
|
||||
public String getRname() {
|
||||
return rname;
|
||||
}
|
||||
|
||||
public void setRname(String rname) {
|
||||
this.rname = rname;
|
||||
}
|
||||
|
||||
public Object getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(Object companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public Object getAccount() {
|
||||
return account;
|
||||
}
|
||||
|
||||
public void setAccount(Object account) {
|
||||
this.account = account;
|
||||
}
|
||||
|
||||
public Object getCredit() {
|
||||
return credit;
|
||||
}
|
||||
|
||||
public void setCredit(Object credit) {
|
||||
this.credit = credit;
|
||||
}
|
||||
|
||||
public Object getSurplusCredit() {
|
||||
return surplusCredit;
|
||||
}
|
||||
|
||||
public void setSurplusCredit(Object surplusCredit) {
|
||||
this.surplusCredit = surplusCredit;
|
||||
}
|
||||
|
||||
public Object getEtcBalance() {
|
||||
return etcBalance;
|
||||
}
|
||||
|
||||
public void setEtcBalance(Object etcBalance) {
|
||||
this.etcBalance = etcBalance;
|
||||
}
|
||||
|
||||
public Object getOliBalance() {
|
||||
return oliBalance;
|
||||
}
|
||||
|
||||
public void setOliBalance(Object oliBalance) {
|
||||
this.oliBalance = oliBalance;
|
||||
}
|
||||
|
||||
public Object getInvoiceMoney() {
|
||||
return invoiceMoney;
|
||||
}
|
||||
|
||||
public void setInvoiceMoney(Object invoiceMoney) {
|
||||
this.invoiceMoney = invoiceMoney;
|
||||
}
|
||||
|
||||
public String getHeadportraitUrl() {
|
||||
return headportraitUrl;
|
||||
}
|
||||
|
||||
public void setHeadportraitUrl(String headportraitUrl) {
|
||||
this.headportraitUrl = headportraitUrl;
|
||||
}
|
||||
|
||||
public String getSalt() {
|
||||
return salt;
|
||||
}
|
||||
|
||||
public void setSalt(String salt) {
|
||||
this.salt = salt;
|
||||
}
|
||||
|
||||
public String getJumpUrl() {
|
||||
return jumpUrl;
|
||||
}
|
||||
|
||||
public void setJumpUrl(String jumpUrl) {
|
||||
this.jumpUrl = jumpUrl;
|
||||
}
|
||||
|
||||
public Object getAuditStatus() {
|
||||
return auditStatus;
|
||||
}
|
||||
|
||||
public void setAuditStatus(Object auditStatus) {
|
||||
this.auditStatus = auditStatus;
|
||||
}
|
||||
|
||||
public Object getDistance() {
|
||||
return distance;
|
||||
}
|
||||
|
||||
public void setDistance(Object distance) {
|
||||
this.distance = distance;
|
||||
}
|
||||
|
||||
public Object getWaybillNum() {
|
||||
return waybillNum;
|
||||
}
|
||||
|
||||
public void setWaybillNum(Object waybillNum) {
|
||||
this.waybillNum = waybillNum;
|
||||
}
|
||||
|
||||
public Object getIdCardValidity() {
|
||||
return idCardValidity;
|
||||
}
|
||||
|
||||
public void setIdCardValidity(Object idCardValidity) {
|
||||
this.idCardValidity = idCardValidity;
|
||||
}
|
||||
|
||||
public Object getDriverValidity() {
|
||||
return driverValidity;
|
||||
}
|
||||
|
||||
public void setDriverValidity(Object driverValidity) {
|
||||
this.driverValidity = driverValidity;
|
||||
}
|
||||
|
||||
public Object getQualificationValidity() {
|
||||
return qualificationValidity;
|
||||
}
|
||||
|
||||
public void setQualificationValidity(Object qualificationValidity) {
|
||||
this.qualificationValidity = qualificationValidity;
|
||||
}
|
||||
|
||||
public Object getIsCar() {
|
||||
return isCar;
|
||||
}
|
||||
|
||||
public void setIsCar(Object isCar) {
|
||||
this.isCar = isCar;
|
||||
}
|
||||
|
||||
public Object getQrcodeUrl() {
|
||||
return qrcodeUrl;
|
||||
}
|
||||
|
||||
public void setQrcodeUrl(Object qrcodeUrl) {
|
||||
this.qrcodeUrl = qrcodeUrl;
|
||||
}
|
||||
}
|
||||
}
|
||||
227
app/src/main/java/com/oneclouds/cargo/bean/NewsListBean.java
Normal file
227
app/src/main/java/com/oneclouds/cargo/bean/NewsListBean.java
Normal file
@ -0,0 +1,227 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/16 15:30
|
||||
* @description:
|
||||
*/
|
||||
public class NewsListBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private List<RecordsDTO> records;
|
||||
private int total;
|
||||
private int size;
|
||||
private int current;
|
||||
private List<?> orders;
|
||||
private boolean searchCount;
|
||||
private int pages;
|
||||
|
||||
public List<RecordsDTO> getRecords() {
|
||||
return records;
|
||||
}
|
||||
|
||||
public void setRecords(List<RecordsDTO> records) {
|
||||
this.records = records;
|
||||
}
|
||||
|
||||
public int getTotal() {
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(int total) {
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
public void setSize(int size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public int getCurrent() {
|
||||
return current;
|
||||
}
|
||||
|
||||
public void setCurrent(int current) {
|
||||
this.current = current;
|
||||
}
|
||||
|
||||
public List<?> getOrders() {
|
||||
return orders;
|
||||
}
|
||||
|
||||
public void setOrders(List<?> orders) {
|
||||
this.orders = orders;
|
||||
}
|
||||
|
||||
public boolean isSearchCount() {
|
||||
return searchCount;
|
||||
}
|
||||
|
||||
public void setSearchCount(boolean searchCount) {
|
||||
this.searchCount = searchCount;
|
||||
}
|
||||
|
||||
public int getPages() {
|
||||
return pages;
|
||||
}
|
||||
|
||||
public void setPages(int pages) {
|
||||
this.pages = pages;
|
||||
}
|
||||
|
||||
public static class RecordsDTO {
|
||||
private int id;
|
||||
private int cate;
|
||||
private String content;
|
||||
private int isRead;
|
||||
private int forwordType;
|
||||
private int forwordId;
|
||||
private int receiverId;
|
||||
private String receiverName;
|
||||
private int createUser;
|
||||
private String createUserName;
|
||||
private String createTime;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getCate() {
|
||||
return cate;
|
||||
}
|
||||
|
||||
public void setCate(int cate) {
|
||||
this.cate = cate;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public int getIsRead() {
|
||||
return isRead;
|
||||
}
|
||||
|
||||
public void setIsRead(int isRead) {
|
||||
this.isRead = isRead;
|
||||
}
|
||||
|
||||
public int getForwordType() {
|
||||
return forwordType;
|
||||
}
|
||||
|
||||
public void setForwordType(int forwordType) {
|
||||
this.forwordType = forwordType;
|
||||
}
|
||||
|
||||
public int getForwordId() {
|
||||
return forwordId;
|
||||
}
|
||||
|
||||
public void setForwordId(int forwordId) {
|
||||
this.forwordId = forwordId;
|
||||
}
|
||||
|
||||
public int getReceiverId() {
|
||||
return receiverId;
|
||||
}
|
||||
|
||||
public void setReceiverId(int receiverId) {
|
||||
this.receiverId = receiverId;
|
||||
}
|
||||
|
||||
public String getReceiverName() {
|
||||
return receiverName;
|
||||
}
|
||||
|
||||
public void setReceiverName(String receiverName) {
|
||||
this.receiverName = receiverName;
|
||||
}
|
||||
|
||||
public int getCreateUser() {
|
||||
return createUser;
|
||||
}
|
||||
|
||||
public void setCreateUser(int createUser) {
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
public String getCreateUserName() {
|
||||
return createUserName;
|
||||
}
|
||||
|
||||
public void setCreateUserName(String createUserName) {
|
||||
this.createUserName = createUserName;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
88
app/src/main/java/com/oneclouds/cargo/bean/NewsNotBean.java
Normal file
88
app/src/main/java/com/oneclouds/cargo/bean/NewsNotBean.java
Normal file
@ -0,0 +1,88 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/16 14:46
|
||||
* @description:
|
||||
*/
|
||||
public class NewsNotBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private List<DataDTO> data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public List<DataDTO> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataDTO> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int count;
|
||||
private String messageTypeName;
|
||||
private int vcode;
|
||||
|
||||
public int getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(int count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public String getMessageTypeName() {
|
||||
return messageTypeName;
|
||||
}
|
||||
|
||||
public void setMessageTypeName(String messageTypeName) {
|
||||
this.messageTypeName = messageTypeName;
|
||||
}
|
||||
|
||||
public int getVcode() {
|
||||
return vcode;
|
||||
}
|
||||
|
||||
public void setVcode(int vcode) {
|
||||
this.vcode = vcode;
|
||||
}
|
||||
}
|
||||
}
|
||||
160
app/src/main/java/com/oneclouds/cargo/bean/NpListBean.java
Normal file
160
app/src/main/java/com/oneclouds/cargo/bean/NpListBean.java
Normal file
@ -0,0 +1,160 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/15 16:26
|
||||
* @description:货物大类列表
|
||||
*/
|
||||
public class NpListBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private List<DataDTO> data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public List<DataDTO> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataDTO> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int id;
|
||||
private int pid;
|
||||
private String cateName;
|
||||
private int shipperId;
|
||||
private Object shipperName;
|
||||
private String remarks;
|
||||
private int isDeleted;
|
||||
private int isDisabled;
|
||||
private String createTime;
|
||||
private String updateTime;
|
||||
private Object pname;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getPid() {
|
||||
return pid;
|
||||
}
|
||||
|
||||
public void setPid(int pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
|
||||
public String getCateName() {
|
||||
return cateName;
|
||||
}
|
||||
|
||||
public void setCateName(String cateName) {
|
||||
this.cateName = cateName;
|
||||
}
|
||||
|
||||
public int getShipperId() {
|
||||
return shipperId;
|
||||
}
|
||||
|
||||
public void setShipperId(int shipperId) {
|
||||
this.shipperId = shipperId;
|
||||
}
|
||||
|
||||
public Object getShipperName() {
|
||||
return shipperName;
|
||||
}
|
||||
|
||||
public void setShipperName(Object shipperName) {
|
||||
this.shipperName = shipperName;
|
||||
}
|
||||
|
||||
public String getRemarks() {
|
||||
return remarks;
|
||||
}
|
||||
|
||||
public void setRemarks(String remarks) {
|
||||
this.remarks = remarks;
|
||||
}
|
||||
|
||||
public int getIsDeleted() {
|
||||
return isDeleted;
|
||||
}
|
||||
|
||||
public void setIsDeleted(int isDeleted) {
|
||||
this.isDeleted = isDeleted;
|
||||
}
|
||||
|
||||
public int getIsDisabled() {
|
||||
return isDisabled;
|
||||
}
|
||||
|
||||
public void setIsDisabled(int isDisabled) {
|
||||
this.isDisabled = isDisabled;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(String updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public Object getPname() {
|
||||
return pname;
|
||||
}
|
||||
|
||||
public void setPname(Object pname) {
|
||||
this.pname = pname;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,53 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.github.gzuliyujiang.wheelview.contract.TextProvider;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/15 17:21
|
||||
* @description:
|
||||
*/
|
||||
public class OptionBaseBean implements Serializable, TextProvider {
|
||||
private int id;
|
||||
private String name;
|
||||
|
||||
public OptionBaseBean(int id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String provideText() {
|
||||
return name;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return "GoodsCategoryBean{" +
|
||||
"id=" + id +
|
||||
", name='" + name + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
58
app/src/main/java/com/oneclouds/cargo/bean/OptionBean.java
Normal file
58
app/src/main/java/com/oneclouds/cargo/bean/OptionBean.java
Normal file
@ -0,0 +1,58 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/15 16:16
|
||||
* @description:
|
||||
*/
|
||||
public class OptionBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private List<String> data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public List<String> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<String> data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
937
app/src/main/java/com/oneclouds/cargo/bean/OrderBean.java
Normal file
937
app/src/main/java/com/oneclouds/cargo/bean/OrderBean.java
Normal file
@ -0,0 +1,937 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/27 15:39
|
||||
* @description:
|
||||
*/
|
||||
public class OrderBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int id;
|
||||
private Object waybillId;
|
||||
private String orderNum;
|
||||
private Object shipperId;
|
||||
private Object loadingName;
|
||||
private Object loadingPhone;
|
||||
private Object loadingProvinceCityArea;
|
||||
private String loadingAddress;
|
||||
private String loadingDeadline;
|
||||
private Object receiverName;
|
||||
private Object receiverPhone;
|
||||
private Object receiverProvinceCityArea;
|
||||
private String receiverAddress;
|
||||
private String receiverDeadline;
|
||||
private Object allowSplitting;
|
||||
private Object goodsValue;
|
||||
private boolean isInsure;
|
||||
private Object insureAmount;
|
||||
private String effectiveTime;
|
||||
private String distance;
|
||||
private int vehicleType;
|
||||
private Object vehicleTypeName;
|
||||
private int vehicleLength;
|
||||
private Object vehicleLengthName;
|
||||
private Object namedDrivers;
|
||||
private String requirement;
|
||||
private String totalFreight;
|
||||
private Object failedReason;
|
||||
private List<SendInfoDTO> sendInfo;
|
||||
private List<PutInfoDTO> putInfo;
|
||||
private String sendPutString;
|
||||
private Object report;
|
||||
private Object contractTemplateUrl;
|
||||
private int status;
|
||||
private String statusOver;
|
||||
private String contactName;
|
||||
private String contactPhone;
|
||||
private int goodsBigCate;
|
||||
private int alctGoodsType;
|
||||
private int businessType;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Object getWaybillId() {
|
||||
return waybillId;
|
||||
}
|
||||
|
||||
public void setWaybillId(Object waybillId) {
|
||||
this.waybillId = waybillId;
|
||||
}
|
||||
|
||||
public String getOrderNum() {
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(String orderNum) {
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
public Object getShipperId() {
|
||||
return shipperId;
|
||||
}
|
||||
|
||||
public void setShipperId(Object shipperId) {
|
||||
this.shipperId = shipperId;
|
||||
}
|
||||
|
||||
public Object getLoadingName() {
|
||||
return loadingName;
|
||||
}
|
||||
|
||||
public void setLoadingName(Object loadingName) {
|
||||
this.loadingName = loadingName;
|
||||
}
|
||||
|
||||
public Object getLoadingPhone() {
|
||||
return loadingPhone;
|
||||
}
|
||||
|
||||
public void setLoadingPhone(Object loadingPhone) {
|
||||
this.loadingPhone = loadingPhone;
|
||||
}
|
||||
|
||||
public Object getLoadingProvinceCityArea() {
|
||||
return loadingProvinceCityArea;
|
||||
}
|
||||
|
||||
public void setLoadingProvinceCityArea(Object loadingProvinceCityArea) {
|
||||
this.loadingProvinceCityArea = loadingProvinceCityArea;
|
||||
}
|
||||
|
||||
public String getLoadingAddress() {
|
||||
return loadingAddress;
|
||||
}
|
||||
|
||||
public void setLoadingAddress(String loadingAddress) {
|
||||
this.loadingAddress = loadingAddress;
|
||||
}
|
||||
|
||||
public String getLoadingDeadline() {
|
||||
return loadingDeadline;
|
||||
}
|
||||
|
||||
public void setLoadingDeadline(String loadingDeadline) {
|
||||
this.loadingDeadline = loadingDeadline;
|
||||
}
|
||||
|
||||
public Object getReceiverName() {
|
||||
return receiverName;
|
||||
}
|
||||
|
||||
public void setReceiverName(Object receiverName) {
|
||||
this.receiverName = receiverName;
|
||||
}
|
||||
|
||||
public Object getReceiverPhone() {
|
||||
return receiverPhone;
|
||||
}
|
||||
|
||||
public void setReceiverPhone(Object receiverPhone) {
|
||||
this.receiverPhone = receiverPhone;
|
||||
}
|
||||
|
||||
public Object getReceiverProvinceCityArea() {
|
||||
return receiverProvinceCityArea;
|
||||
}
|
||||
|
||||
public void setReceiverProvinceCityArea(Object receiverProvinceCityArea) {
|
||||
this.receiverProvinceCityArea = receiverProvinceCityArea;
|
||||
}
|
||||
|
||||
public String getReceiverAddress() {
|
||||
return receiverAddress;
|
||||
}
|
||||
|
||||
public void setReceiverAddress(String receiverAddress) {
|
||||
this.receiverAddress = receiverAddress;
|
||||
}
|
||||
|
||||
public String getReceiverDeadline() {
|
||||
return receiverDeadline;
|
||||
}
|
||||
|
||||
public void setReceiverDeadline(String receiverDeadline) {
|
||||
this.receiverDeadline = receiverDeadline;
|
||||
}
|
||||
|
||||
public Object getAllowSplitting() {
|
||||
return allowSplitting;
|
||||
}
|
||||
|
||||
public void setAllowSplitting(Object allowSplitting) {
|
||||
this.allowSplitting = allowSplitting;
|
||||
}
|
||||
|
||||
public Object getGoodsValue() {
|
||||
return goodsValue;
|
||||
}
|
||||
|
||||
public void setGoodsValue(Object goodsValue) {
|
||||
this.goodsValue = goodsValue;
|
||||
}
|
||||
|
||||
public boolean getIsInsure() {
|
||||
return isInsure;
|
||||
}
|
||||
|
||||
public void setIsInsure(boolean isInsure) {
|
||||
this.isInsure = isInsure;
|
||||
}
|
||||
|
||||
public Object getInsureAmount() {
|
||||
return insureAmount;
|
||||
}
|
||||
|
||||
public void setInsureAmount(Object insureAmount) {
|
||||
this.insureAmount = insureAmount;
|
||||
}
|
||||
|
||||
public String getEffectiveTime() {
|
||||
return effectiveTime;
|
||||
}
|
||||
|
||||
public void setEffectiveTime(String effectiveTime) {
|
||||
this.effectiveTime = effectiveTime;
|
||||
}
|
||||
|
||||
public String getDistance() {
|
||||
return distance;
|
||||
}
|
||||
|
||||
public void setDistance(String distance) {
|
||||
this.distance = distance;
|
||||
}
|
||||
|
||||
public int getVehicleType() {
|
||||
return vehicleType;
|
||||
}
|
||||
|
||||
public void setVehicleType(int vehicleType) {
|
||||
this.vehicleType = vehicleType;
|
||||
}
|
||||
|
||||
public Object getVehicleTypeName() {
|
||||
return vehicleTypeName;
|
||||
}
|
||||
|
||||
public void setVehicleTypeName(Object vehicleTypeName) {
|
||||
this.vehicleTypeName = vehicleTypeName;
|
||||
}
|
||||
|
||||
public int getVehicleLength() {
|
||||
return vehicleLength;
|
||||
}
|
||||
|
||||
public void setVehicleLength(int vehicleLength) {
|
||||
this.vehicleLength = vehicleLength;
|
||||
}
|
||||
|
||||
public Object getVehicleLengthName() {
|
||||
return vehicleLengthName;
|
||||
}
|
||||
|
||||
public void setVehicleLengthName(Object vehicleLengthName) {
|
||||
this.vehicleLengthName = vehicleLengthName;
|
||||
}
|
||||
|
||||
public Object getNamedDrivers() {
|
||||
return namedDrivers;
|
||||
}
|
||||
|
||||
public void setNamedDrivers(Object namedDrivers) {
|
||||
this.namedDrivers = namedDrivers;
|
||||
}
|
||||
|
||||
public String getRequirement() {
|
||||
return requirement;
|
||||
}
|
||||
|
||||
public void setRequirement(String requirement) {
|
||||
this.requirement = requirement;
|
||||
}
|
||||
|
||||
public String getTotalFreight() {
|
||||
return totalFreight;
|
||||
}
|
||||
|
||||
public void setTotalFreight(String totalFreight) {
|
||||
this.totalFreight = totalFreight;
|
||||
}
|
||||
|
||||
public Object getFailedReason() {
|
||||
return failedReason;
|
||||
}
|
||||
|
||||
public void setFailedReason(Object failedReason) {
|
||||
this.failedReason = failedReason;
|
||||
}
|
||||
|
||||
public List<SendInfoDTO> getSendInfo() {
|
||||
return sendInfo;
|
||||
}
|
||||
|
||||
public void setSendInfo(List<SendInfoDTO> sendInfo) {
|
||||
this.sendInfo = sendInfo;
|
||||
}
|
||||
|
||||
public List<PutInfoDTO> getPutInfo() {
|
||||
return putInfo;
|
||||
}
|
||||
|
||||
public void setPutInfo(List<PutInfoDTO> putInfo) {
|
||||
this.putInfo = putInfo;
|
||||
}
|
||||
|
||||
public String getSendPutString() {
|
||||
return sendPutString;
|
||||
}
|
||||
|
||||
public void setSendPutString(String sendPutString) {
|
||||
this.sendPutString = sendPutString;
|
||||
}
|
||||
|
||||
public Object getReport() {
|
||||
return report;
|
||||
}
|
||||
|
||||
public void setReport(Object report) {
|
||||
this.report = report;
|
||||
}
|
||||
|
||||
public Object getContractTemplateUrl() {
|
||||
return contractTemplateUrl;
|
||||
}
|
||||
|
||||
public void setContractTemplateUrl(Object contractTemplateUrl) {
|
||||
this.contractTemplateUrl = contractTemplateUrl;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatusOver() {
|
||||
return statusOver;
|
||||
}
|
||||
|
||||
public void setStatusOver(String statusOver) {
|
||||
this.statusOver = statusOver;
|
||||
}
|
||||
|
||||
public String getContactName() {
|
||||
return contactName;
|
||||
}
|
||||
|
||||
public void setContactName(String contactName) {
|
||||
this.contactName = contactName;
|
||||
}
|
||||
|
||||
public String getContactPhone() {
|
||||
return contactPhone;
|
||||
}
|
||||
|
||||
public void setContactPhone(String contactPhone) {
|
||||
this.contactPhone = contactPhone;
|
||||
}
|
||||
|
||||
public int getGoodsBigCate() {
|
||||
return goodsBigCate;
|
||||
}
|
||||
|
||||
public void setGoodsBigCate(int goodsBigCate) {
|
||||
this.goodsBigCate = goodsBigCate;
|
||||
}
|
||||
|
||||
public int getAlctGoodsType() {
|
||||
return alctGoodsType;
|
||||
}
|
||||
|
||||
public void setAlctGoodsType(int alctGoodsType) {
|
||||
this.alctGoodsType = alctGoodsType;
|
||||
}
|
||||
|
||||
public int getBusinessType() {
|
||||
return businessType;
|
||||
}
|
||||
|
||||
public void setBusinessType(int businessType) {
|
||||
this.businessType = businessType;
|
||||
}
|
||||
|
||||
public static class SendInfoDTO {
|
||||
private long childNumber;
|
||||
private int pid;
|
||||
private String name;
|
||||
private String phone;
|
||||
private int province;
|
||||
private int city;
|
||||
private int area;
|
||||
private String provinceCityArea;
|
||||
private String address;
|
||||
private String deadline;
|
||||
private int type;
|
||||
private int status;
|
||||
private int displayOrder;
|
||||
private Object totalAmount;
|
||||
private String createTime;
|
||||
private String longitude;
|
||||
private String latitude;
|
||||
private String businessName;
|
||||
private String businessCode;
|
||||
private List<GoodsDTO> goods;
|
||||
|
||||
public long getChildNumber() {
|
||||
return childNumber;
|
||||
}
|
||||
|
||||
public void setChildNumber(long childNumber) {
|
||||
this.childNumber = childNumber;
|
||||
}
|
||||
|
||||
public int getPid() {
|
||||
return pid;
|
||||
}
|
||||
|
||||
public void setPid(int pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public int getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(int province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public int getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(int city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public int getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(int area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public String getProvinceCityArea() {
|
||||
return provinceCityArea;
|
||||
}
|
||||
|
||||
public void setProvinceCityArea(String provinceCityArea) {
|
||||
this.provinceCityArea = provinceCityArea;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getDeadline() {
|
||||
return deadline;
|
||||
}
|
||||
|
||||
public void setDeadline(String deadline) {
|
||||
this.deadline = deadline;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getDisplayOrder() {
|
||||
return displayOrder;
|
||||
}
|
||||
|
||||
public void setDisplayOrder(int displayOrder) {
|
||||
this.displayOrder = displayOrder;
|
||||
}
|
||||
|
||||
public Object getTotalAmount() {
|
||||
return totalAmount;
|
||||
}
|
||||
|
||||
public void setTotalAmount(Object totalAmount) {
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public void setLongitude(String longitude) {
|
||||
this.longitude = longitude;
|
||||
}
|
||||
|
||||
public String getLatitude() {
|
||||
return latitude;
|
||||
}
|
||||
|
||||
public void setLatitude(String latitude) {
|
||||
this.latitude = latitude;
|
||||
}
|
||||
|
||||
public String getBusinessName() {
|
||||
return businessName;
|
||||
}
|
||||
|
||||
public void setBusinessName(String businessName) {
|
||||
this.businessName = businessName;
|
||||
}
|
||||
|
||||
public String getBusinessCode() {
|
||||
return businessCode;
|
||||
}
|
||||
|
||||
public void setBusinessCode(String businessCode) {
|
||||
this.businessCode = businessCode;
|
||||
}
|
||||
|
||||
public List<GoodsDTO> getGoods() {
|
||||
return goods;
|
||||
}
|
||||
|
||||
public void setGoods(List<GoodsDTO> goods) {
|
||||
this.goods = goods;
|
||||
}
|
||||
|
||||
public static class GoodsDTO {
|
||||
private long id;
|
||||
private long childrenId;
|
||||
private String goodName;
|
||||
private String goodNum;
|
||||
private String goodUnit;
|
||||
private String goodPrice;
|
||||
private String packName;
|
||||
private Object createTime;
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public long getChildrenId() {
|
||||
return childrenId;
|
||||
}
|
||||
|
||||
public void setChildrenId(long childrenId) {
|
||||
this.childrenId = childrenId;
|
||||
}
|
||||
|
||||
public String getGoodName() {
|
||||
return goodName;
|
||||
}
|
||||
|
||||
public void setGoodName(String goodName) {
|
||||
this.goodName = goodName;
|
||||
}
|
||||
|
||||
public String getGoodNum() {
|
||||
return goodNum;
|
||||
}
|
||||
|
||||
public void setGoodNum(String goodNum) {
|
||||
this.goodNum = goodNum;
|
||||
}
|
||||
|
||||
public String getGoodUnit() {
|
||||
return goodUnit;
|
||||
}
|
||||
|
||||
public void setGoodUnit(String goodUnit) {
|
||||
this.goodUnit = goodUnit;
|
||||
}
|
||||
|
||||
public String getGoodPrice() {
|
||||
return goodPrice;
|
||||
}
|
||||
|
||||
public void setGoodPrice(String goodPrice) {
|
||||
this.goodPrice = goodPrice;
|
||||
}
|
||||
|
||||
public String getPackName() {
|
||||
return packName;
|
||||
}
|
||||
|
||||
public void setPackName(String packName) {
|
||||
this.packName = packName;
|
||||
}
|
||||
|
||||
public Object getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Object createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static class PutInfoDTO {
|
||||
private long childNumber;
|
||||
private int pid;
|
||||
private String name;
|
||||
private String phone;
|
||||
private int province;
|
||||
private int city;
|
||||
private int area;
|
||||
private String provinceCityArea;
|
||||
private String address;
|
||||
private String deadline;
|
||||
private int type;
|
||||
private int status;
|
||||
private int displayOrder;
|
||||
private Object totalAmount;
|
||||
private String createTime;
|
||||
private String longitude;
|
||||
private String latitude;
|
||||
private String businessName;
|
||||
private String businessCode;
|
||||
private List<GoodsDTO> goods;
|
||||
|
||||
public long getChildNumber() {
|
||||
return childNumber;
|
||||
}
|
||||
|
||||
public void setChildNumber(long childNumber) {
|
||||
this.childNumber = childNumber;
|
||||
}
|
||||
|
||||
public int getPid() {
|
||||
return pid;
|
||||
}
|
||||
|
||||
public void setPid(int pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public int getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(int province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public int getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(int city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public int getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(int area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public String getProvinceCityArea() {
|
||||
return provinceCityArea;
|
||||
}
|
||||
|
||||
public void setProvinceCityArea(String provinceCityArea) {
|
||||
this.provinceCityArea = provinceCityArea;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getDeadline() {
|
||||
return deadline;
|
||||
}
|
||||
|
||||
public void setDeadline(String deadline) {
|
||||
this.deadline = deadline;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getDisplayOrder() {
|
||||
return displayOrder;
|
||||
}
|
||||
|
||||
public void setDisplayOrder(int displayOrder) {
|
||||
this.displayOrder = displayOrder;
|
||||
}
|
||||
|
||||
public Object getTotalAmount() {
|
||||
return totalAmount;
|
||||
}
|
||||
|
||||
public void setTotalAmount(Object totalAmount) {
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public void setLongitude(String longitude) {
|
||||
this.longitude = longitude;
|
||||
}
|
||||
|
||||
public String getLatitude() {
|
||||
return latitude;
|
||||
}
|
||||
|
||||
public void setLatitude(String latitude) {
|
||||
this.latitude = latitude;
|
||||
}
|
||||
|
||||
public String getBusinessName() {
|
||||
return businessName;
|
||||
}
|
||||
|
||||
public void setBusinessName(String businessName) {
|
||||
this.businessName = businessName;
|
||||
}
|
||||
|
||||
public String getBusinessCode() {
|
||||
return businessCode;
|
||||
}
|
||||
|
||||
public void setBusinessCode(String businessCode) {
|
||||
this.businessCode = businessCode;
|
||||
}
|
||||
|
||||
public List<GoodsDTO> getGoods() {
|
||||
return goods;
|
||||
}
|
||||
|
||||
public void setGoods(List<GoodsDTO> goods) {
|
||||
this.goods = goods;
|
||||
}
|
||||
|
||||
public static class GoodsDTO {
|
||||
private long id;
|
||||
private long childrenId;
|
||||
private String goodName;
|
||||
private String goodNum;
|
||||
private String goodUnit;
|
||||
private String goodPrice;
|
||||
private String packName;
|
||||
private Object createTime;
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public long getChildrenId() {
|
||||
return childrenId;
|
||||
}
|
||||
|
||||
public void setChildrenId(long childrenId) {
|
||||
this.childrenId = childrenId;
|
||||
}
|
||||
|
||||
public String getGoodName() {
|
||||
return goodName;
|
||||
}
|
||||
|
||||
public void setGoodName(String goodName) {
|
||||
this.goodName = goodName;
|
||||
}
|
||||
|
||||
public String getGoodNum() {
|
||||
return goodNum;
|
||||
}
|
||||
|
||||
public void setGoodNum(String goodNum) {
|
||||
this.goodNum = goodNum;
|
||||
}
|
||||
|
||||
public String getGoodUnit() {
|
||||
return goodUnit;
|
||||
}
|
||||
|
||||
public void setGoodUnit(String goodUnit) {
|
||||
this.goodUnit = goodUnit;
|
||||
}
|
||||
|
||||
public String getGoodPrice() {
|
||||
return goodPrice;
|
||||
}
|
||||
|
||||
public void setGoodPrice(String goodPrice) {
|
||||
this.goodPrice = goodPrice;
|
||||
}
|
||||
|
||||
public String getPackName() {
|
||||
return packName;
|
||||
}
|
||||
|
||||
public void setPackName(String packName) {
|
||||
this.packName = packName;
|
||||
}
|
||||
|
||||
public Object getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Object createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
483
app/src/main/java/com/oneclouds/cargo/bean/OrderDetailsBean.java
Normal file
483
app/src/main/java/com/oneclouds/cargo/bean/OrderDetailsBean.java
Normal file
@ -0,0 +1,483 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/22 15:05
|
||||
* @description:
|
||||
*/
|
||||
public class OrderDetailsBean {
|
||||
|
||||
|
||||
private int code;
|
||||
private DataDTO data;
|
||||
private String msg;
|
||||
private int res;
|
||||
private boolean success;
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private String acceptTime;
|
||||
private int avgScore;
|
||||
private String carNumber;
|
||||
private String carType;
|
||||
private String contractUrl;
|
||||
private String distance;
|
||||
private String driverName;
|
||||
private String endCountrySubdivisionCode;
|
||||
private int isEvaluation;
|
||||
private String nfcId;
|
||||
private int operation;
|
||||
private int report;
|
||||
private int reportAlct;
|
||||
private String serialNumber;
|
||||
private String shippingNoteNumber;
|
||||
private String startCountrySubdivisionCode;
|
||||
private String totalAmount;
|
||||
private List<WayChildrenDTO> wayChildren;
|
||||
private String waybillStatus;
|
||||
|
||||
public String getAcceptTime() {
|
||||
return acceptTime;
|
||||
}
|
||||
|
||||
public void setAcceptTime(String acceptTime) {
|
||||
this.acceptTime = acceptTime;
|
||||
}
|
||||
|
||||
public int getAvgScore() {
|
||||
return avgScore;
|
||||
}
|
||||
|
||||
public void setAvgScore(int avgScore) {
|
||||
this.avgScore = avgScore;
|
||||
}
|
||||
|
||||
public String getCarNumber() {
|
||||
return carNumber;
|
||||
}
|
||||
|
||||
public void setCarNumber(String carNumber) {
|
||||
this.carNumber = carNumber;
|
||||
}
|
||||
|
||||
public String getCarType() {
|
||||
return carType;
|
||||
}
|
||||
|
||||
public void setCarType(String carType) {
|
||||
this.carType = carType;
|
||||
}
|
||||
|
||||
public String getContractUrl() {
|
||||
return contractUrl;
|
||||
}
|
||||
|
||||
public void setContractUrl(String contractUrl) {
|
||||
this.contractUrl = contractUrl;
|
||||
}
|
||||
|
||||
public String getDistance() {
|
||||
return distance;
|
||||
}
|
||||
|
||||
public void setDistance(String distance) {
|
||||
this.distance = distance;
|
||||
}
|
||||
|
||||
public String getDriverName() {
|
||||
return driverName;
|
||||
}
|
||||
|
||||
public void setDriverName(String driverName) {
|
||||
this.driverName = driverName;
|
||||
}
|
||||
|
||||
public String getEndCountrySubdivisionCode() {
|
||||
return endCountrySubdivisionCode;
|
||||
}
|
||||
|
||||
public void setEndCountrySubdivisionCode(String endCountrySubdivisionCode) {
|
||||
this.endCountrySubdivisionCode = endCountrySubdivisionCode;
|
||||
}
|
||||
|
||||
public int getIsEvaluation() {
|
||||
return isEvaluation;
|
||||
}
|
||||
|
||||
public void setIsEvaluation(int isEvaluation) {
|
||||
this.isEvaluation = isEvaluation;
|
||||
}
|
||||
|
||||
public String getNfcId() {
|
||||
return nfcId;
|
||||
}
|
||||
|
||||
public void setNfcId(String nfcId) {
|
||||
this.nfcId = nfcId;
|
||||
}
|
||||
|
||||
public int getOperation() {
|
||||
return operation;
|
||||
}
|
||||
|
||||
public void setOperation(int operation) {
|
||||
this.operation = operation;
|
||||
}
|
||||
|
||||
public int getReport() {
|
||||
return report;
|
||||
}
|
||||
|
||||
public void setReport(int report) {
|
||||
this.report = report;
|
||||
}
|
||||
|
||||
public int getReportAlct() {
|
||||
return reportAlct;
|
||||
}
|
||||
|
||||
public void setReportAlct(int reportAlct) {
|
||||
this.reportAlct = reportAlct;
|
||||
}
|
||||
|
||||
public String getSerialNumber() {
|
||||
return serialNumber;
|
||||
}
|
||||
|
||||
public void setSerialNumber(String serialNumber) {
|
||||
this.serialNumber = serialNumber;
|
||||
}
|
||||
|
||||
public String getShippingNoteNumber() {
|
||||
return shippingNoteNumber;
|
||||
}
|
||||
|
||||
public void setShippingNoteNumber(String shippingNoteNumber) {
|
||||
this.shippingNoteNumber = shippingNoteNumber;
|
||||
}
|
||||
|
||||
public String getStartCountrySubdivisionCode() {
|
||||
return startCountrySubdivisionCode;
|
||||
}
|
||||
|
||||
public void setStartCountrySubdivisionCode(String startCountrySubdivisionCode) {
|
||||
this.startCountrySubdivisionCode = startCountrySubdivisionCode;
|
||||
}
|
||||
|
||||
public String getTotalAmount() {
|
||||
return totalAmount;
|
||||
}
|
||||
|
||||
public void setTotalAmount(String totalAmount) {
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public List<WayChildrenDTO> getWayChildren() {
|
||||
return wayChildren;
|
||||
}
|
||||
|
||||
public void setWayChildren(List<WayChildrenDTO> wayChildren) {
|
||||
this.wayChildren = wayChildren;
|
||||
}
|
||||
|
||||
public String getWaybillStatus() {
|
||||
return waybillStatus;
|
||||
}
|
||||
|
||||
public void setWaybillStatus(String waybillStatus) {
|
||||
this.waybillStatus = waybillStatus;
|
||||
}
|
||||
|
||||
public static class WayChildrenDTO {
|
||||
private String address;
|
||||
private String deadline;
|
||||
private int delay;
|
||||
private String displayOrder;
|
||||
private List<GoodsDTO> goods;
|
||||
private String id;
|
||||
private String latitude;
|
||||
private String longitude;
|
||||
private String receiptLatitude;
|
||||
private String receiptLocationAddress;
|
||||
private String receiptLongitude;
|
||||
private String receiptTime;
|
||||
private List<?> receiptUrl;
|
||||
private int report;
|
||||
private int reportAlct;
|
||||
private List<?> sendPutImagesUrl;
|
||||
private String sendPutLatitude;
|
||||
private String sendPutLocationAddress;
|
||||
private String sendPutLongitude;
|
||||
private int status;
|
||||
private int type;
|
||||
private String updateTime;
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getDeadline() {
|
||||
return deadline;
|
||||
}
|
||||
|
||||
public void setDeadline(String deadline) {
|
||||
this.deadline = deadline;
|
||||
}
|
||||
|
||||
public int getDelay() {
|
||||
return delay;
|
||||
}
|
||||
|
||||
public void setDelay(int delay) {
|
||||
this.delay = delay;
|
||||
}
|
||||
|
||||
public String getDisplayOrder() {
|
||||
return displayOrder;
|
||||
}
|
||||
|
||||
public void setDisplayOrder(String displayOrder) {
|
||||
this.displayOrder = displayOrder;
|
||||
}
|
||||
|
||||
public List<GoodsDTO> getGoods() {
|
||||
return goods;
|
||||
}
|
||||
|
||||
public void setGoods(List<GoodsDTO> goods) {
|
||||
this.goods = goods;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getLatitude() {
|
||||
return latitude;
|
||||
}
|
||||
|
||||
public void setLatitude(String latitude) {
|
||||
this.latitude = latitude;
|
||||
}
|
||||
|
||||
public String getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public void setLongitude(String longitude) {
|
||||
this.longitude = longitude;
|
||||
}
|
||||
|
||||
public String getReceiptLatitude() {
|
||||
return receiptLatitude;
|
||||
}
|
||||
|
||||
public void setReceiptLatitude(String receiptLatitude) {
|
||||
this.receiptLatitude = receiptLatitude;
|
||||
}
|
||||
|
||||
public String getReceiptLocationAddress() {
|
||||
return receiptLocationAddress;
|
||||
}
|
||||
|
||||
public void setReceiptLocationAddress(String receiptLocationAddress) {
|
||||
this.receiptLocationAddress = receiptLocationAddress;
|
||||
}
|
||||
|
||||
public String getReceiptLongitude() {
|
||||
return receiptLongitude;
|
||||
}
|
||||
|
||||
public void setReceiptLongitude(String receiptLongitude) {
|
||||
this.receiptLongitude = receiptLongitude;
|
||||
}
|
||||
|
||||
public String getReceiptTime() {
|
||||
return receiptTime;
|
||||
}
|
||||
|
||||
public void setReceiptTime(String receiptTime) {
|
||||
this.receiptTime = receiptTime;
|
||||
}
|
||||
|
||||
public List<?> getReceiptUrl() {
|
||||
return receiptUrl;
|
||||
}
|
||||
|
||||
public void setReceiptUrl(List<?> receiptUrl) {
|
||||
this.receiptUrl = receiptUrl;
|
||||
}
|
||||
|
||||
public int getReport() {
|
||||
return report;
|
||||
}
|
||||
|
||||
public void setReport(int report) {
|
||||
this.report = report;
|
||||
}
|
||||
|
||||
public int getReportAlct() {
|
||||
return reportAlct;
|
||||
}
|
||||
|
||||
public void setReportAlct(int reportAlct) {
|
||||
this.reportAlct = reportAlct;
|
||||
}
|
||||
|
||||
public List<?> getSendPutImagesUrl() {
|
||||
return sendPutImagesUrl;
|
||||
}
|
||||
|
||||
public void setSendPutImagesUrl(List<?> sendPutImagesUrl) {
|
||||
this.sendPutImagesUrl = sendPutImagesUrl;
|
||||
}
|
||||
|
||||
public String getSendPutLatitude() {
|
||||
return sendPutLatitude;
|
||||
}
|
||||
|
||||
public void setSendPutLatitude(String sendPutLatitude) {
|
||||
this.sendPutLatitude = sendPutLatitude;
|
||||
}
|
||||
|
||||
public String getSendPutLocationAddress() {
|
||||
return sendPutLocationAddress;
|
||||
}
|
||||
|
||||
public void setSendPutLocationAddress(String sendPutLocationAddress) {
|
||||
this.sendPutLocationAddress = sendPutLocationAddress;
|
||||
}
|
||||
|
||||
public String getSendPutLongitude() {
|
||||
return sendPutLongitude;
|
||||
}
|
||||
|
||||
public void setSendPutLongitude(String sendPutLongitude) {
|
||||
this.sendPutLongitude = sendPutLongitude;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(String updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public static class GoodsDTO {
|
||||
|
||||
private String goodName;
|
||||
private String goodNum;
|
||||
private String goodPrice;
|
||||
private String goodUnit;
|
||||
private String packName;
|
||||
|
||||
public String getGoodName() {
|
||||
return goodName;
|
||||
}
|
||||
|
||||
public void setGoodName(String goodName) {
|
||||
this.goodName = goodName;
|
||||
}
|
||||
|
||||
public String getGoodNum() {
|
||||
return goodNum;
|
||||
}
|
||||
|
||||
public void setGoodNum(String goodNum) {
|
||||
this.goodNum = goodNum;
|
||||
}
|
||||
|
||||
public String getGoodPrice() {
|
||||
return goodPrice;
|
||||
}
|
||||
|
||||
public void setGoodPrice(String goodPrice) {
|
||||
this.goodPrice = goodPrice;
|
||||
}
|
||||
|
||||
public String getGoodUnit() {
|
||||
return goodUnit;
|
||||
}
|
||||
|
||||
public void setGoodUnit(String goodUnit) {
|
||||
this.goodUnit = goodUnit;
|
||||
}
|
||||
|
||||
public String getPackName() {
|
||||
return packName;
|
||||
}
|
||||
|
||||
public void setPackName(String packName) {
|
||||
this.packName = packName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
910
app/src/main/java/com/oneclouds/cargo/bean/OrderList.java
Normal file
910
app/src/main/java/com/oneclouds/cargo/bean/OrderList.java
Normal file
@ -0,0 +1,910 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/27 14:47
|
||||
* @description:
|
||||
*/
|
||||
public class OrderList {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int id;
|
||||
private Object waybillId;
|
||||
private String orderNum;
|
||||
private Object shipperId;
|
||||
private Object loadingName;
|
||||
private Object loadingPhone;
|
||||
private Object loadingProvinceCityArea;
|
||||
private String loadingAddress;
|
||||
private String loadingDeadline;
|
||||
private Object receiverName;
|
||||
private Object receiverPhone;
|
||||
private Object receiverProvinceCityArea;
|
||||
private String receiverAddress;
|
||||
private String receiverDeadline;
|
||||
private Object allowSplitting;
|
||||
private Object goodsValue;
|
||||
private Object isInsure;
|
||||
private Object insureAmount;
|
||||
private String effectiveTime;
|
||||
private String distance;
|
||||
private int vehicleType;
|
||||
private Object vehicleTypeName;
|
||||
private int vehicleLength;
|
||||
private Object vehicleLengthName;
|
||||
private Object namedDrivers;
|
||||
private String requirement;
|
||||
private String totalFreight;
|
||||
private Object failedReason;
|
||||
private List<SendInfoDTO> sendInfo;
|
||||
private List<PutInfoDTO> putInfo;
|
||||
private String sendPutString;
|
||||
private Object report;
|
||||
private Object contractTemplateUrl;
|
||||
private int status;
|
||||
private String statusOver;
|
||||
private String contactName;
|
||||
private String contactPhone;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Object getWaybillId() {
|
||||
return waybillId;
|
||||
}
|
||||
|
||||
public void setWaybillId(Object waybillId) {
|
||||
this.waybillId = waybillId;
|
||||
}
|
||||
|
||||
public String getOrderNum() {
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(String orderNum) {
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
public Object getShipperId() {
|
||||
return shipperId;
|
||||
}
|
||||
|
||||
public void setShipperId(Object shipperId) {
|
||||
this.shipperId = shipperId;
|
||||
}
|
||||
|
||||
public Object getLoadingName() {
|
||||
return loadingName;
|
||||
}
|
||||
|
||||
public void setLoadingName(Object loadingName) {
|
||||
this.loadingName = loadingName;
|
||||
}
|
||||
|
||||
public Object getLoadingPhone() {
|
||||
return loadingPhone;
|
||||
}
|
||||
|
||||
public void setLoadingPhone(Object loadingPhone) {
|
||||
this.loadingPhone = loadingPhone;
|
||||
}
|
||||
|
||||
public Object getLoadingProvinceCityArea() {
|
||||
return loadingProvinceCityArea;
|
||||
}
|
||||
|
||||
public void setLoadingProvinceCityArea(Object loadingProvinceCityArea) {
|
||||
this.loadingProvinceCityArea = loadingProvinceCityArea;
|
||||
}
|
||||
|
||||
public String getLoadingAddress() {
|
||||
return loadingAddress;
|
||||
}
|
||||
|
||||
public void setLoadingAddress(String loadingAddress) {
|
||||
this.loadingAddress = loadingAddress;
|
||||
}
|
||||
|
||||
public String getLoadingDeadline() {
|
||||
return loadingDeadline;
|
||||
}
|
||||
|
||||
public void setLoadingDeadline(String loadingDeadline) {
|
||||
this.loadingDeadline = loadingDeadline;
|
||||
}
|
||||
|
||||
public Object getReceiverName() {
|
||||
return receiverName;
|
||||
}
|
||||
|
||||
public void setReceiverName(Object receiverName) {
|
||||
this.receiverName = receiverName;
|
||||
}
|
||||
|
||||
public Object getReceiverPhone() {
|
||||
return receiverPhone;
|
||||
}
|
||||
|
||||
public void setReceiverPhone(Object receiverPhone) {
|
||||
this.receiverPhone = receiverPhone;
|
||||
}
|
||||
|
||||
public Object getReceiverProvinceCityArea() {
|
||||
return receiverProvinceCityArea;
|
||||
}
|
||||
|
||||
public void setReceiverProvinceCityArea(Object receiverProvinceCityArea) {
|
||||
this.receiverProvinceCityArea = receiverProvinceCityArea;
|
||||
}
|
||||
|
||||
public String getReceiverAddress() {
|
||||
return receiverAddress;
|
||||
}
|
||||
|
||||
public void setReceiverAddress(String receiverAddress) {
|
||||
this.receiverAddress = receiverAddress;
|
||||
}
|
||||
|
||||
public String getReceiverDeadline() {
|
||||
return receiverDeadline;
|
||||
}
|
||||
|
||||
public void setReceiverDeadline(String receiverDeadline) {
|
||||
this.receiverDeadline = receiverDeadline;
|
||||
}
|
||||
|
||||
public Object getAllowSplitting() {
|
||||
return allowSplitting;
|
||||
}
|
||||
|
||||
public void setAllowSplitting(Object allowSplitting) {
|
||||
this.allowSplitting = allowSplitting;
|
||||
}
|
||||
|
||||
public Object getGoodsValue() {
|
||||
return goodsValue;
|
||||
}
|
||||
|
||||
public void setGoodsValue(Object goodsValue) {
|
||||
this.goodsValue = goodsValue;
|
||||
}
|
||||
|
||||
public Object getIsInsure() {
|
||||
return isInsure;
|
||||
}
|
||||
|
||||
public void setIsInsure(Object isInsure) {
|
||||
this.isInsure = isInsure;
|
||||
}
|
||||
|
||||
public Object getInsureAmount() {
|
||||
return insureAmount;
|
||||
}
|
||||
|
||||
public void setInsureAmount(Object insureAmount) {
|
||||
this.insureAmount = insureAmount;
|
||||
}
|
||||
|
||||
public String getEffectiveTime() {
|
||||
return effectiveTime;
|
||||
}
|
||||
|
||||
public void setEffectiveTime(String effectiveTime) {
|
||||
this.effectiveTime = effectiveTime;
|
||||
}
|
||||
|
||||
public String getDistance() {
|
||||
return distance;
|
||||
}
|
||||
|
||||
public void setDistance(String distance) {
|
||||
this.distance = distance;
|
||||
}
|
||||
|
||||
public int getVehicleType() {
|
||||
return vehicleType;
|
||||
}
|
||||
|
||||
public void setVehicleType(int vehicleType) {
|
||||
this.vehicleType = vehicleType;
|
||||
}
|
||||
|
||||
public Object getVehicleTypeName() {
|
||||
return vehicleTypeName;
|
||||
}
|
||||
|
||||
public void setVehicleTypeName(Object vehicleTypeName) {
|
||||
this.vehicleTypeName = vehicleTypeName;
|
||||
}
|
||||
|
||||
public int getVehicleLength() {
|
||||
return vehicleLength;
|
||||
}
|
||||
|
||||
public void setVehicleLength(int vehicleLength) {
|
||||
this.vehicleLength = vehicleLength;
|
||||
}
|
||||
|
||||
public Object getVehicleLengthName() {
|
||||
return vehicleLengthName;
|
||||
}
|
||||
|
||||
public void setVehicleLengthName(Object vehicleLengthName) {
|
||||
this.vehicleLengthName = vehicleLengthName;
|
||||
}
|
||||
|
||||
public Object getNamedDrivers() {
|
||||
return namedDrivers;
|
||||
}
|
||||
|
||||
public void setNamedDrivers(Object namedDrivers) {
|
||||
this.namedDrivers = namedDrivers;
|
||||
}
|
||||
|
||||
public String getRequirement() {
|
||||
return requirement;
|
||||
}
|
||||
|
||||
public void setRequirement(String requirement) {
|
||||
this.requirement = requirement;
|
||||
}
|
||||
|
||||
public String getTotalFreight() {
|
||||
return totalFreight;
|
||||
}
|
||||
|
||||
public void setTotalFreight(String totalFreight) {
|
||||
this.totalFreight = totalFreight;
|
||||
}
|
||||
|
||||
public Object getFailedReason() {
|
||||
return failedReason;
|
||||
}
|
||||
|
||||
public void setFailedReason(Object failedReason) {
|
||||
this.failedReason = failedReason;
|
||||
}
|
||||
|
||||
public List<SendInfoDTO> getSendInfo() {
|
||||
return sendInfo;
|
||||
}
|
||||
|
||||
public void setSendInfo(List<SendInfoDTO> sendInfo) {
|
||||
this.sendInfo = sendInfo;
|
||||
}
|
||||
|
||||
public List<PutInfoDTO> getPutInfo() {
|
||||
return putInfo;
|
||||
}
|
||||
|
||||
public void setPutInfo(List<PutInfoDTO> putInfo) {
|
||||
this.putInfo = putInfo;
|
||||
}
|
||||
|
||||
public String getSendPutString() {
|
||||
return sendPutString;
|
||||
}
|
||||
|
||||
public void setSendPutString(String sendPutString) {
|
||||
this.sendPutString = sendPutString;
|
||||
}
|
||||
|
||||
public Object getReport() {
|
||||
return report;
|
||||
}
|
||||
|
||||
public void setReport(Object report) {
|
||||
this.report = report;
|
||||
}
|
||||
|
||||
public Object getContractTemplateUrl() {
|
||||
return contractTemplateUrl;
|
||||
}
|
||||
|
||||
public void setContractTemplateUrl(Object contractTemplateUrl) {
|
||||
this.contractTemplateUrl = contractTemplateUrl;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatusOver() {
|
||||
return statusOver;
|
||||
}
|
||||
|
||||
public void setStatusOver(String statusOver) {
|
||||
this.statusOver = statusOver;
|
||||
}
|
||||
|
||||
public String getContactName() {
|
||||
return contactName;
|
||||
}
|
||||
|
||||
public void setContactName(String contactName) {
|
||||
this.contactName = contactName;
|
||||
}
|
||||
|
||||
public String getContactPhone() {
|
||||
return contactPhone;
|
||||
}
|
||||
|
||||
public void setContactPhone(String contactPhone) {
|
||||
this.contactPhone = contactPhone;
|
||||
}
|
||||
|
||||
public static class SendInfoDTO {
|
||||
private long childNumber;
|
||||
private int pid;
|
||||
private String name;
|
||||
private String phone;
|
||||
private int province;
|
||||
private int city;
|
||||
private int area;
|
||||
private String provinceCityArea;
|
||||
private String address;
|
||||
private String deadline;
|
||||
private int type;
|
||||
private int status;
|
||||
private int displayOrder;
|
||||
private Object totalAmount;
|
||||
private String createTime;
|
||||
private String longitude;
|
||||
private String latitude;
|
||||
private String businessName;
|
||||
private String businessCode;
|
||||
private List<GoodsDTO> goods;
|
||||
|
||||
public long getChildNumber() {
|
||||
return childNumber;
|
||||
}
|
||||
|
||||
public void setChildNumber(long childNumber) {
|
||||
this.childNumber = childNumber;
|
||||
}
|
||||
|
||||
public int getPid() {
|
||||
return pid;
|
||||
}
|
||||
|
||||
public void setPid(int pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public int getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(int province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public int getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(int city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public int getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(int area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public String getProvinceCityArea() {
|
||||
return provinceCityArea;
|
||||
}
|
||||
|
||||
public void setProvinceCityArea(String provinceCityArea) {
|
||||
this.provinceCityArea = provinceCityArea;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getDeadline() {
|
||||
return deadline;
|
||||
}
|
||||
|
||||
public void setDeadline(String deadline) {
|
||||
this.deadline = deadline;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getDisplayOrder() {
|
||||
return displayOrder;
|
||||
}
|
||||
|
||||
public void setDisplayOrder(int displayOrder) {
|
||||
this.displayOrder = displayOrder;
|
||||
}
|
||||
|
||||
public Object getTotalAmount() {
|
||||
return totalAmount;
|
||||
}
|
||||
|
||||
public void setTotalAmount(Object totalAmount) {
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public void setLongitude(String longitude) {
|
||||
this.longitude = longitude;
|
||||
}
|
||||
|
||||
public String getLatitude() {
|
||||
return latitude;
|
||||
}
|
||||
|
||||
public void setLatitude(String latitude) {
|
||||
this.latitude = latitude;
|
||||
}
|
||||
|
||||
public String getBusinessName() {
|
||||
return businessName;
|
||||
}
|
||||
|
||||
public void setBusinessName(String businessName) {
|
||||
this.businessName = businessName;
|
||||
}
|
||||
|
||||
public String getBusinessCode() {
|
||||
return businessCode;
|
||||
}
|
||||
|
||||
public void setBusinessCode(String businessCode) {
|
||||
this.businessCode = businessCode;
|
||||
}
|
||||
|
||||
public List<GoodsDTO> getGoods() {
|
||||
return goods;
|
||||
}
|
||||
|
||||
public void setGoods(List<GoodsDTO> goods) {
|
||||
this.goods = goods;
|
||||
}
|
||||
|
||||
public static class GoodsDTO {
|
||||
private long id;
|
||||
private long childrenId;
|
||||
private String goodName;
|
||||
private String goodNum;
|
||||
private String goodUnit;
|
||||
private String goodPrice;
|
||||
private String packName;
|
||||
private Object createTime;
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public long getChildrenId() {
|
||||
return childrenId;
|
||||
}
|
||||
|
||||
public void setChildrenId(long childrenId) {
|
||||
this.childrenId = childrenId;
|
||||
}
|
||||
|
||||
public String getGoodName() {
|
||||
return goodName;
|
||||
}
|
||||
|
||||
public void setGoodName(String goodName) {
|
||||
this.goodName = goodName;
|
||||
}
|
||||
|
||||
public String getGoodNum() {
|
||||
return goodNum;
|
||||
}
|
||||
|
||||
public void setGoodNum(String goodNum) {
|
||||
this.goodNum = goodNum;
|
||||
}
|
||||
|
||||
public String getGoodUnit() {
|
||||
return goodUnit;
|
||||
}
|
||||
|
||||
public void setGoodUnit(String goodUnit) {
|
||||
this.goodUnit = goodUnit;
|
||||
}
|
||||
|
||||
public String getGoodPrice() {
|
||||
return goodPrice;
|
||||
}
|
||||
|
||||
public void setGoodPrice(String goodPrice) {
|
||||
this.goodPrice = goodPrice;
|
||||
}
|
||||
|
||||
public String getPackName() {
|
||||
return packName;
|
||||
}
|
||||
|
||||
public void setPackName(String packName) {
|
||||
this.packName = packName;
|
||||
}
|
||||
|
||||
public Object getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Object createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static class PutInfoDTO {
|
||||
private long childNumber;
|
||||
private int pid;
|
||||
private String name;
|
||||
private String phone;
|
||||
private int province;
|
||||
private int city;
|
||||
private int area;
|
||||
private String provinceCityArea;
|
||||
private String address;
|
||||
private String deadline;
|
||||
private int type;
|
||||
private int status;
|
||||
private int displayOrder;
|
||||
private Object totalAmount;
|
||||
private String createTime;
|
||||
private String longitude;
|
||||
private String latitude;
|
||||
private String businessName;
|
||||
private String businessCode;
|
||||
private List<GoodsDTO> goods;
|
||||
|
||||
public long getChildNumber() {
|
||||
return childNumber;
|
||||
}
|
||||
|
||||
public void setChildNumber(long childNumber) {
|
||||
this.childNumber = childNumber;
|
||||
}
|
||||
|
||||
public int getPid() {
|
||||
return pid;
|
||||
}
|
||||
|
||||
public void setPid(int pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public int getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(int province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public int getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(int city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public int getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(int area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public String getProvinceCityArea() {
|
||||
return provinceCityArea;
|
||||
}
|
||||
|
||||
public void setProvinceCityArea(String provinceCityArea) {
|
||||
this.provinceCityArea = provinceCityArea;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getDeadline() {
|
||||
return deadline;
|
||||
}
|
||||
|
||||
public void setDeadline(String deadline) {
|
||||
this.deadline = deadline;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getDisplayOrder() {
|
||||
return displayOrder;
|
||||
}
|
||||
|
||||
public void setDisplayOrder(int displayOrder) {
|
||||
this.displayOrder = displayOrder;
|
||||
}
|
||||
|
||||
public Object getTotalAmount() {
|
||||
return totalAmount;
|
||||
}
|
||||
|
||||
public void setTotalAmount(Object totalAmount) {
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public void setLongitude(String longitude) {
|
||||
this.longitude = longitude;
|
||||
}
|
||||
|
||||
public String getLatitude() {
|
||||
return latitude;
|
||||
}
|
||||
|
||||
public void setLatitude(String latitude) {
|
||||
this.latitude = latitude;
|
||||
}
|
||||
|
||||
public String getBusinessName() {
|
||||
return businessName;
|
||||
}
|
||||
|
||||
public void setBusinessName(String businessName) {
|
||||
this.businessName = businessName;
|
||||
}
|
||||
|
||||
public String getBusinessCode() {
|
||||
return businessCode;
|
||||
}
|
||||
|
||||
public void setBusinessCode(String businessCode) {
|
||||
this.businessCode = businessCode;
|
||||
}
|
||||
|
||||
public List<GoodsDTO> getGoods() {
|
||||
return goods;
|
||||
}
|
||||
|
||||
public void setGoods(List<GoodsDTO> goods) {
|
||||
this.goods = goods;
|
||||
}
|
||||
|
||||
public static class GoodsDTO {
|
||||
private long id;
|
||||
private long childrenId;
|
||||
private String goodName;
|
||||
private String goodNum;
|
||||
private String goodUnit;
|
||||
private String goodPrice;
|
||||
private String packName;
|
||||
private Object createTime;
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public long getChildrenId() {
|
||||
return childrenId;
|
||||
}
|
||||
|
||||
public void setChildrenId(long childrenId) {
|
||||
this.childrenId = childrenId;
|
||||
}
|
||||
|
||||
public String getGoodName() {
|
||||
return goodName;
|
||||
}
|
||||
|
||||
public void setGoodName(String goodName) {
|
||||
this.goodName = goodName;
|
||||
}
|
||||
|
||||
public String getGoodNum() {
|
||||
return goodNum;
|
||||
}
|
||||
|
||||
public void setGoodNum(String goodNum) {
|
||||
this.goodNum = goodNum;
|
||||
}
|
||||
|
||||
public String getGoodUnit() {
|
||||
return goodUnit;
|
||||
}
|
||||
|
||||
public void setGoodUnit(String goodUnit) {
|
||||
this.goodUnit = goodUnit;
|
||||
}
|
||||
|
||||
public String getGoodPrice() {
|
||||
return goodPrice;
|
||||
}
|
||||
|
||||
public void setGoodPrice(String goodPrice) {
|
||||
this.goodPrice = goodPrice;
|
||||
}
|
||||
|
||||
public String getPackName() {
|
||||
return packName;
|
||||
}
|
||||
|
||||
public void setPackName(String packName) {
|
||||
this.packName = packName;
|
||||
}
|
||||
|
||||
public Object getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Object createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
326
app/src/main/java/com/oneclouds/cargo/bean/OrderListBean.java
Normal file
326
app/src/main/java/com/oneclouds/cargo/bean/OrderListBean.java
Normal file
@ -0,0 +1,326 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/6 10:40
|
||||
* @description:运单列表实体类
|
||||
*/
|
||||
public class OrderListBean {
|
||||
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private List<RecordsDTO> records;
|
||||
private int total;
|
||||
private int size;
|
||||
private int current;
|
||||
private List<?> orders;
|
||||
private boolean searchCount;
|
||||
private int pages;
|
||||
|
||||
public List<RecordsDTO> getRecords() {
|
||||
return records;
|
||||
}
|
||||
|
||||
public void setRecords(List<RecordsDTO> records) {
|
||||
this.records = records;
|
||||
}
|
||||
|
||||
public int getTotal() {
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(int total) {
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
public void setSize(int size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public int getCurrent() {
|
||||
return current;
|
||||
}
|
||||
|
||||
public void setCurrent(int current) {
|
||||
this.current = current;
|
||||
}
|
||||
|
||||
public List<?> getOrders() {
|
||||
return orders;
|
||||
}
|
||||
|
||||
public void setOrders(List<?> orders) {
|
||||
this.orders = orders;
|
||||
}
|
||||
|
||||
public boolean isSearchCount() {
|
||||
return searchCount;
|
||||
}
|
||||
|
||||
public void setSearchCount(boolean searchCount) {
|
||||
this.searchCount = searchCount;
|
||||
}
|
||||
|
||||
public int getPages() {
|
||||
return pages;
|
||||
}
|
||||
|
||||
public void setPages(int pages) {
|
||||
this.pages = pages;
|
||||
}
|
||||
|
||||
public static class RecordsDTO {
|
||||
private int id;
|
||||
private String orderNum;
|
||||
private int status;
|
||||
private int auditStatus;
|
||||
private String loadingProvince;
|
||||
private String loadingCity;
|
||||
private String loadingArea;
|
||||
private String loadingAddress;
|
||||
private String loadingProvinceCityArea;
|
||||
private String loadingDeadline;
|
||||
private String receiverProvince;
|
||||
private String receiverCity;
|
||||
private String receiverArea;
|
||||
private String receiverAddress;
|
||||
private String receiverProvinceCityArea;
|
||||
private String receiverDeadline;
|
||||
private int dispatchType;
|
||||
private int isTrailer;
|
||||
private int allowSplitting;
|
||||
private String showStatusText;
|
||||
private int waybillCount;
|
||||
private Object shipperCompanyName;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getOrderNum() {
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(String orderNum) {
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getAuditStatus() {
|
||||
return auditStatus;
|
||||
}
|
||||
|
||||
public void setAuditStatus(int auditStatus) {
|
||||
this.auditStatus = auditStatus;
|
||||
}
|
||||
|
||||
public String getLoadingProvince() {
|
||||
return loadingProvince;
|
||||
}
|
||||
|
||||
public void setLoadingProvince(String loadingProvince) {
|
||||
this.loadingProvince = loadingProvince;
|
||||
}
|
||||
|
||||
public String getLoadingCity() {
|
||||
return loadingCity;
|
||||
}
|
||||
|
||||
public void setLoadingCity(String loadingCity) {
|
||||
this.loadingCity = loadingCity;
|
||||
}
|
||||
|
||||
public String getLoadingArea() {
|
||||
return loadingArea;
|
||||
}
|
||||
|
||||
public void setLoadingArea(String loadingArea) {
|
||||
this.loadingArea = loadingArea;
|
||||
}
|
||||
|
||||
public String getLoadingAddress() {
|
||||
return loadingAddress;
|
||||
}
|
||||
|
||||
public void setLoadingAddress(String loadingAddress) {
|
||||
this.loadingAddress = loadingAddress;
|
||||
}
|
||||
|
||||
public String getLoadingProvinceCityArea() {
|
||||
return loadingProvinceCityArea;
|
||||
}
|
||||
|
||||
public void setLoadingProvinceCityArea(String loadingProvinceCityArea) {
|
||||
this.loadingProvinceCityArea = loadingProvinceCityArea;
|
||||
}
|
||||
|
||||
public String getLoadingDeadline() {
|
||||
return loadingDeadline;
|
||||
}
|
||||
|
||||
public void setLoadingDeadline(String loadingDeadline) {
|
||||
this.loadingDeadline = loadingDeadline;
|
||||
}
|
||||
|
||||
public String getReceiverProvince() {
|
||||
return receiverProvince;
|
||||
}
|
||||
|
||||
public void setReceiverProvince(String receiverProvince) {
|
||||
this.receiverProvince = receiverProvince;
|
||||
}
|
||||
|
||||
public String getReceiverCity() {
|
||||
return receiverCity;
|
||||
}
|
||||
|
||||
public void setReceiverCity(String receiverCity) {
|
||||
this.receiverCity = receiverCity;
|
||||
}
|
||||
|
||||
public String getReceiverArea() {
|
||||
return receiverArea;
|
||||
}
|
||||
|
||||
public void setReceiverArea(String receiverArea) {
|
||||
this.receiverArea = receiverArea;
|
||||
}
|
||||
|
||||
public String getReceiverAddress() {
|
||||
return receiverAddress;
|
||||
}
|
||||
|
||||
public void setReceiverAddress(String receiverAddress) {
|
||||
this.receiverAddress = receiverAddress;
|
||||
}
|
||||
|
||||
public String getReceiverProvinceCityArea() {
|
||||
return receiverProvinceCityArea;
|
||||
}
|
||||
|
||||
public void setReceiverProvinceCityArea(String receiverProvinceCityArea) {
|
||||
this.receiverProvinceCityArea = receiverProvinceCityArea;
|
||||
}
|
||||
|
||||
public String getReceiverDeadline() {
|
||||
return receiverDeadline;
|
||||
}
|
||||
|
||||
public void setReceiverDeadline(String receiverDeadline) {
|
||||
this.receiverDeadline = receiverDeadline;
|
||||
}
|
||||
|
||||
public int getDispatchType() {
|
||||
return dispatchType;
|
||||
}
|
||||
|
||||
public void setDispatchType(int dispatchType) {
|
||||
this.dispatchType = dispatchType;
|
||||
}
|
||||
|
||||
public int getIsTrailer() {
|
||||
return isTrailer;
|
||||
}
|
||||
|
||||
public void setIsTrailer(int isTrailer) {
|
||||
this.isTrailer = isTrailer;
|
||||
}
|
||||
|
||||
public int getAllowSplitting() {
|
||||
return allowSplitting;
|
||||
}
|
||||
|
||||
public void setAllowSplitting(int allowSplitting) {
|
||||
this.allowSplitting = allowSplitting;
|
||||
}
|
||||
|
||||
public String getShowStatusText() {
|
||||
return showStatusText;
|
||||
}
|
||||
|
||||
public void setShowStatusText(String showStatusText) {
|
||||
this.showStatusText = showStatusText;
|
||||
}
|
||||
|
||||
public int getWaybillCount() {
|
||||
return waybillCount;
|
||||
}
|
||||
|
||||
public void setWaybillCount(int waybillCount) {
|
||||
this.waybillCount = waybillCount;
|
||||
}
|
||||
|
||||
public Object getShipperCompanyName() {
|
||||
return shipperCompanyName;
|
||||
}
|
||||
|
||||
public void setShipperCompanyName(Object shipperCompanyName) {
|
||||
this.shipperCompanyName = shipperCompanyName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
58
app/src/main/java/com/oneclouds/cargo/bean/PackNameBean.java
Normal file
58
app/src/main/java/com/oneclouds/cargo/bean/PackNameBean.java
Normal file
@ -0,0 +1,58 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/16 9:49
|
||||
* @description:包装方式
|
||||
*/
|
||||
public class PackNameBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private List<String> data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public List<String> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<String> data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
151
app/src/main/java/com/oneclouds/cargo/bean/StateBean.java
Normal file
151
app/src/main/java/com/oneclouds/cargo/bean/StateBean.java
Normal file
@ -0,0 +1,151 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class StateBean implements Serializable {
|
||||
|
||||
|
||||
private String searchValue;
|
||||
private String createBy;
|
||||
private String createTime;
|
||||
private String updateBy;
|
||||
private String updateTime;
|
||||
private String remark;
|
||||
private String dictCode;
|
||||
private String dictSort;
|
||||
private String dictLabel;
|
||||
private String dictValue;
|
||||
private String dictType;
|
||||
private String cssClass;
|
||||
private String listClass;
|
||||
private String isDefault;
|
||||
private String status;
|
||||
|
||||
public StateBean(String dictLabel, String dictValue) {
|
||||
this.dictLabel = dictLabel;
|
||||
this.dictValue = dictValue;
|
||||
}
|
||||
|
||||
public String getSearchValue() {
|
||||
return searchValue;
|
||||
}
|
||||
|
||||
public void setSearchValue(String searchValue) {
|
||||
this.searchValue = searchValue;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return createBy;
|
||||
}
|
||||
|
||||
public void setCreateBy(String createBy) {
|
||||
this.createBy = createBy;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getUpdateBy() {
|
||||
return updateBy;
|
||||
}
|
||||
|
||||
public void setUpdateBy(String updateBy) {
|
||||
this.updateBy = updateBy;
|
||||
}
|
||||
|
||||
public String getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(String updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getDictCode() {
|
||||
return dictCode;
|
||||
}
|
||||
|
||||
public void setDictCode(String dictCode) {
|
||||
this.dictCode = dictCode;
|
||||
}
|
||||
|
||||
public String getDictSort() {
|
||||
return dictSort;
|
||||
}
|
||||
|
||||
public void setDictSort(String dictSort) {
|
||||
this.dictSort = dictSort;
|
||||
}
|
||||
|
||||
public String getDictLabel() {
|
||||
return dictLabel;
|
||||
}
|
||||
|
||||
public void setDictLabel(String dictLabel) {
|
||||
this.dictLabel = dictLabel;
|
||||
}
|
||||
|
||||
public String getDictValue() {
|
||||
return dictValue;
|
||||
}
|
||||
|
||||
public void setDictValue(String dictValue) {
|
||||
this.dictValue = dictValue;
|
||||
}
|
||||
|
||||
public String getDictType() {
|
||||
return dictType;
|
||||
}
|
||||
|
||||
public void setDictType(String dictType) {
|
||||
this.dictType = dictType;
|
||||
}
|
||||
|
||||
public String getCssClass() {
|
||||
return cssClass;
|
||||
}
|
||||
|
||||
public void setCssClass(String cssClass) {
|
||||
this.cssClass = cssClass;
|
||||
}
|
||||
|
||||
public String getListClass() {
|
||||
return listClass;
|
||||
}
|
||||
|
||||
public void setListClass(String listClass) {
|
||||
this.listClass = listClass;
|
||||
}
|
||||
|
||||
public String getIsDefault() {
|
||||
return isDefault;
|
||||
}
|
||||
|
||||
public void setIsDefault(String isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public static class ParamsDTO {
|
||||
}
|
||||
}
|
||||
122
app/src/main/java/com/oneclouds/cargo/bean/UpAppBean.java
Normal file
122
app/src/main/java/com/oneclouds/cargo/bean/UpAppBean.java
Normal file
@ -0,0 +1,122 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/23 17:17
|
||||
* @description:
|
||||
*/
|
||||
public class UpAppBean {
|
||||
|
||||
private int code;
|
||||
private DataDTO data;
|
||||
private String msg;
|
||||
private int res;
|
||||
private boolean success;
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private String content;
|
||||
private String delete;
|
||||
private String downloadUrl;
|
||||
private String force;
|
||||
private String source;
|
||||
private String type;
|
||||
private String version;
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getDelete() {
|
||||
return delete;
|
||||
}
|
||||
|
||||
public void setDelete(String delete) {
|
||||
this.delete = delete;
|
||||
}
|
||||
|
||||
public String getDownloadUrl() {
|
||||
return downloadUrl;
|
||||
}
|
||||
|
||||
public void setDownloadUrl(String downloadUrl) {
|
||||
this.downloadUrl = downloadUrl;
|
||||
}
|
||||
|
||||
public String getForce() {
|
||||
return force;
|
||||
}
|
||||
|
||||
public void setForce(String force) {
|
||||
this.force = force;
|
||||
}
|
||||
|
||||
public String getSource() {
|
||||
return source;
|
||||
}
|
||||
|
||||
public void setSource(String source) {
|
||||
this.source = source;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
public void setVersion(String version) {
|
||||
this.version = version;
|
||||
}
|
||||
}
|
||||
}
|
||||
167
app/src/main/java/com/oneclouds/cargo/bean/UploadBean.java
Normal file
167
app/src/main/java/com/oneclouds/cargo/bean/UploadBean.java
Normal file
@ -0,0 +1,167 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/16 18:06
|
||||
* @description:
|
||||
*/
|
||||
public class UploadBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int id;
|
||||
private Object uuidName;
|
||||
private Object realName;
|
||||
private String sourcePath;
|
||||
private Object sourceSuffix;
|
||||
private Object sourceSize;
|
||||
private Object remark;
|
||||
private int createUser;
|
||||
private Object createTime;
|
||||
private Object folderid;
|
||||
private String name;
|
||||
private String url;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Object getUuidName() {
|
||||
return uuidName;
|
||||
}
|
||||
|
||||
public void setUuidName(Object uuidName) {
|
||||
this.uuidName = uuidName;
|
||||
}
|
||||
|
||||
public Object getRealName() {
|
||||
return realName;
|
||||
}
|
||||
|
||||
public void setRealName(Object realName) {
|
||||
this.realName = realName;
|
||||
}
|
||||
|
||||
public String getSourcePath() {
|
||||
return sourcePath;
|
||||
}
|
||||
|
||||
public void setSourcePath(String sourcePath) {
|
||||
this.sourcePath = sourcePath;
|
||||
}
|
||||
|
||||
public Object getSourceSuffix() {
|
||||
return sourceSuffix;
|
||||
}
|
||||
|
||||
public void setSourceSuffix(Object sourceSuffix) {
|
||||
this.sourceSuffix = sourceSuffix;
|
||||
}
|
||||
|
||||
public Object getSourceSize() {
|
||||
return sourceSize;
|
||||
}
|
||||
|
||||
public void setSourceSize(Object sourceSize) {
|
||||
this.sourceSize = sourceSize;
|
||||
}
|
||||
|
||||
public Object getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(Object remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public int getCreateUser() {
|
||||
return createUser;
|
||||
}
|
||||
|
||||
public void setCreateUser(int createUser) {
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
public Object getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Object createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Object getFolderid() {
|
||||
return folderid;
|
||||
}
|
||||
|
||||
public void setFolderid(Object folderid) {
|
||||
this.folderid = folderid;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
}
|
||||
}
|
||||
338
app/src/main/java/com/oneclouds/cargo/bean/UserBean.java
Normal file
338
app/src/main/java/com/oneclouds/cargo/bean/UserBean.java
Normal file
@ -0,0 +1,338 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/16 15:55
|
||||
* @description:
|
||||
*/
|
||||
public class UserBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private String token;
|
||||
private int id;
|
||||
private int roleId;
|
||||
private String uname;
|
||||
private String registerPhone;
|
||||
private String rname;
|
||||
private String companyName;
|
||||
private String account;
|
||||
private String credit;
|
||||
private Object surplusCredit;
|
||||
private String etcBalance;
|
||||
private String oliBalance;
|
||||
private Object invoiceMoney;
|
||||
private String headportraitUrl;
|
||||
private Object salt;
|
||||
private Object jumpUrl;
|
||||
private int auditStatus;
|
||||
private String distance;
|
||||
private int waybillNum;
|
||||
private Object orderNum;
|
||||
private String idCardValidity;
|
||||
private String driverValidity;
|
||||
private String qualificationValidity;
|
||||
private int isCar;
|
||||
private String qrcodeUrl;
|
||||
private int partyMemberStatus;
|
||||
private String partyMemberTime;
|
||||
private String partyMemberUrl;
|
||||
private Object partyMemberReason;
|
||||
private String goodLuck;
|
||||
private String freight;
|
||||
|
||||
public String getGoodLuck() {
|
||||
return goodLuck;
|
||||
}
|
||||
|
||||
public void setGoodLuck(String goodLuck) {
|
||||
this.goodLuck = goodLuck;
|
||||
}
|
||||
|
||||
public String getFreight() {
|
||||
return freight;
|
||||
}
|
||||
|
||||
public void setFreight(String freight) {
|
||||
this.freight = freight;
|
||||
}
|
||||
|
||||
public String getToken() {
|
||||
return token;
|
||||
}
|
||||
|
||||
public void setToken(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getRoleId() {
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(int roleId) {
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public String getUname() {
|
||||
return uname;
|
||||
}
|
||||
|
||||
public void setUname(String uname) {
|
||||
this.uname = uname;
|
||||
}
|
||||
|
||||
public String getRegisterPhone() {
|
||||
return registerPhone;
|
||||
}
|
||||
|
||||
public void setRegisterPhone(String registerPhone) {
|
||||
this.registerPhone = registerPhone;
|
||||
}
|
||||
|
||||
public String getRname() {
|
||||
return rname;
|
||||
}
|
||||
|
||||
public void setRname(String rname) {
|
||||
this.rname = rname;
|
||||
}
|
||||
|
||||
public String getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public String getAccount() {
|
||||
return account;
|
||||
}
|
||||
|
||||
public void setAccount(String account) {
|
||||
this.account = account;
|
||||
}
|
||||
|
||||
public String getCredit() {
|
||||
return credit;
|
||||
}
|
||||
|
||||
public void setCredit(String credit) {
|
||||
this.credit = credit;
|
||||
}
|
||||
|
||||
public Object getSurplusCredit() {
|
||||
return surplusCredit;
|
||||
}
|
||||
|
||||
public void setSurplusCredit(Object surplusCredit) {
|
||||
this.surplusCredit = surplusCredit;
|
||||
}
|
||||
|
||||
public String getEtcBalance() {
|
||||
return etcBalance;
|
||||
}
|
||||
|
||||
public void setEtcBalance(String etcBalance) {
|
||||
this.etcBalance = etcBalance;
|
||||
}
|
||||
|
||||
public String getOliBalance() {
|
||||
return oliBalance;
|
||||
}
|
||||
|
||||
public void setOliBalance(String oliBalance) {
|
||||
this.oliBalance = oliBalance;
|
||||
}
|
||||
|
||||
public Object getInvoiceMoney() {
|
||||
return invoiceMoney;
|
||||
}
|
||||
|
||||
public void setInvoiceMoney(Object invoiceMoney) {
|
||||
this.invoiceMoney = invoiceMoney;
|
||||
}
|
||||
|
||||
public String getHeadportraitUrl() {
|
||||
return headportraitUrl;
|
||||
}
|
||||
|
||||
public void setHeadportraitUrl(String headportraitUrl) {
|
||||
this.headportraitUrl = headportraitUrl;
|
||||
}
|
||||
|
||||
public Object getSalt() {
|
||||
return salt;
|
||||
}
|
||||
|
||||
public void setSalt(Object salt) {
|
||||
this.salt = salt;
|
||||
}
|
||||
|
||||
public Object getJumpUrl() {
|
||||
return jumpUrl;
|
||||
}
|
||||
|
||||
public void setJumpUrl(Object jumpUrl) {
|
||||
this.jumpUrl = jumpUrl;
|
||||
}
|
||||
|
||||
public int getAuditStatus() {
|
||||
return auditStatus;
|
||||
}
|
||||
|
||||
public void setAuditStatus(int auditStatus) {
|
||||
this.auditStatus = auditStatus;
|
||||
}
|
||||
|
||||
public String getDistance() {
|
||||
return distance;
|
||||
}
|
||||
|
||||
public void setDistance(String distance) {
|
||||
this.distance = distance;
|
||||
}
|
||||
|
||||
public int getWaybillNum() {
|
||||
return waybillNum;
|
||||
}
|
||||
|
||||
public void setWaybillNum(int waybillNum) {
|
||||
this.waybillNum = waybillNum;
|
||||
}
|
||||
|
||||
public Object getOrderNum() {
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(Object orderNum) {
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
public String getIdCardValidity() {
|
||||
return idCardValidity;
|
||||
}
|
||||
|
||||
public void setIdCardValidity(String idCardValidity) {
|
||||
this.idCardValidity = idCardValidity;
|
||||
}
|
||||
|
||||
public String getDriverValidity() {
|
||||
return driverValidity;
|
||||
}
|
||||
|
||||
public void setDriverValidity(String driverValidity) {
|
||||
this.driverValidity = driverValidity;
|
||||
}
|
||||
|
||||
public String getQualificationValidity() {
|
||||
return qualificationValidity;
|
||||
}
|
||||
|
||||
public void setQualificationValidity(String qualificationValidity) {
|
||||
this.qualificationValidity = qualificationValidity;
|
||||
}
|
||||
|
||||
public int getIsCar() {
|
||||
return isCar;
|
||||
}
|
||||
|
||||
public void setIsCar(int isCar) {
|
||||
this.isCar = isCar;
|
||||
}
|
||||
|
||||
public String getQrcodeUrl() {
|
||||
return qrcodeUrl;
|
||||
}
|
||||
|
||||
public void setQrcodeUrl(String qrcodeUrl) {
|
||||
this.qrcodeUrl = qrcodeUrl;
|
||||
}
|
||||
|
||||
public int getPartyMemberStatus() {
|
||||
return partyMemberStatus;
|
||||
}
|
||||
|
||||
public void setPartyMemberStatus(int partyMemberStatus) {
|
||||
this.partyMemberStatus = partyMemberStatus;
|
||||
}
|
||||
|
||||
public String getPartyMemberTime() {
|
||||
return partyMemberTime;
|
||||
}
|
||||
|
||||
public void setPartyMemberTime(String partyMemberTime) {
|
||||
this.partyMemberTime = partyMemberTime;
|
||||
}
|
||||
|
||||
public String getPartyMemberUrl() {
|
||||
return partyMemberUrl;
|
||||
}
|
||||
|
||||
public void setPartyMemberUrl(String partyMemberUrl) {
|
||||
this.partyMemberUrl = partyMemberUrl;
|
||||
}
|
||||
|
||||
public Object getPartyMemberReason() {
|
||||
return partyMemberReason;
|
||||
}
|
||||
|
||||
public void setPartyMemberReason(Object partyMemberReason) {
|
||||
this.partyMemberReason = partyMemberReason;
|
||||
}
|
||||
}
|
||||
}
|
||||
290
app/src/main/java/com/oneclouds/cargo/bean/WaybillListBean.java
Normal file
290
app/src/main/java/com/oneclouds/cargo/bean/WaybillListBean.java
Normal file
@ -0,0 +1,290 @@
|
||||
package com.oneclouds.cargo.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/22 9:50
|
||||
* @description:
|
||||
*/
|
||||
|
||||
public class WaybillListBean {
|
||||
|
||||
private int code;
|
||||
private DataDTO data;
|
||||
private String msg;
|
||||
private int res;
|
||||
private boolean success;
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private List<ListDTO> list;
|
||||
private int num;
|
||||
private String totalFreight;
|
||||
|
||||
public List<ListDTO> getList() {
|
||||
return list;
|
||||
}
|
||||
|
||||
public void setList(List<ListDTO> list) {
|
||||
this.list = list;
|
||||
}
|
||||
|
||||
public int getNum() {
|
||||
return num;
|
||||
}
|
||||
|
||||
public void setNum(int num) {
|
||||
this.num = num;
|
||||
}
|
||||
|
||||
public String getTotalFreight() {
|
||||
return totalFreight;
|
||||
}
|
||||
|
||||
public void setTotalFreight(String totalFreight) {
|
||||
this.totalFreight = totalFreight;
|
||||
}
|
||||
|
||||
public static class ListDTO {
|
||||
private String carNum;
|
||||
private int complaint;
|
||||
private String contactName;
|
||||
private String contactPhone;
|
||||
private int dispatchType;
|
||||
private String distance;
|
||||
private String effectiveTime;
|
||||
private String goodsBigCate;
|
||||
private int isShipperEvaluation;
|
||||
private String loadingAddress;
|
||||
private int multipleScore;
|
||||
private int orderId;
|
||||
private String orderNum;
|
||||
private String receiverAddress;
|
||||
private String sendPutString;
|
||||
private int status;
|
||||
private String statusOver;
|
||||
private String totalFreight;
|
||||
private String vehicleType;
|
||||
private int waybillId;
|
||||
private int makeStatus;
|
||||
private String createTime;
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime == null ? "" : createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public int getMakeStatus() {
|
||||
return makeStatus;
|
||||
}
|
||||
|
||||
public void setMakeStatus(int makeStatus) {
|
||||
this.makeStatus = makeStatus;
|
||||
}
|
||||
|
||||
public String getCarNum() {
|
||||
return carNum;
|
||||
}
|
||||
|
||||
public void setCarNum(String carNum) {
|
||||
this.carNum = carNum;
|
||||
}
|
||||
|
||||
public int getComplaint() {
|
||||
return complaint;
|
||||
}
|
||||
|
||||
public void setComplaint(int complaint) {
|
||||
this.complaint = complaint;
|
||||
}
|
||||
|
||||
public String getContactName() {
|
||||
return contactName;
|
||||
}
|
||||
|
||||
public void setContactName(String contactName) {
|
||||
this.contactName = contactName;
|
||||
}
|
||||
|
||||
public String getContactPhone() {
|
||||
return contactPhone;
|
||||
}
|
||||
|
||||
public void setContactPhone(String contactPhone) {
|
||||
this.contactPhone = contactPhone;
|
||||
}
|
||||
|
||||
public int getDispatchType() {
|
||||
return dispatchType;
|
||||
}
|
||||
|
||||
public void setDispatchType(int dispatchType) {
|
||||
this.dispatchType = dispatchType;
|
||||
}
|
||||
|
||||
public String getDistance() {
|
||||
return distance;
|
||||
}
|
||||
|
||||
public void setDistance(String distance) {
|
||||
this.distance = distance;
|
||||
}
|
||||
|
||||
public String getEffectiveTime() {
|
||||
return effectiveTime;
|
||||
}
|
||||
|
||||
public void setEffectiveTime(String effectiveTime) {
|
||||
this.effectiveTime = effectiveTime;
|
||||
}
|
||||
|
||||
public String getGoodsBigCate() {
|
||||
return goodsBigCate;
|
||||
}
|
||||
|
||||
public void setGoodsBigCate(String goodsBigCate) {
|
||||
this.goodsBigCate = goodsBigCate;
|
||||
}
|
||||
|
||||
public int getIsShipperEvaluation() {
|
||||
return isShipperEvaluation;
|
||||
}
|
||||
|
||||
public void setIsShipperEvaluation(int isShipperEvaluation) {
|
||||
this.isShipperEvaluation = isShipperEvaluation;
|
||||
}
|
||||
|
||||
public String getLoadingAddress() {
|
||||
return loadingAddress;
|
||||
}
|
||||
|
||||
public void setLoadingAddress(String loadingAddress) {
|
||||
this.loadingAddress = loadingAddress;
|
||||
}
|
||||
|
||||
public int getMultipleScore() {
|
||||
return multipleScore;
|
||||
}
|
||||
|
||||
public void setMultipleScore(int multipleScore) {
|
||||
this.multipleScore = multipleScore;
|
||||
}
|
||||
|
||||
public int getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
public void setOrderId(int orderId) {
|
||||
this.orderId = orderId;
|
||||
}
|
||||
|
||||
public String getOrderNum() {
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(String orderNum) {
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
public String getReceiverAddress() {
|
||||
return receiverAddress;
|
||||
}
|
||||
|
||||
public void setReceiverAddress(String receiverAddress) {
|
||||
this.receiverAddress = receiverAddress;
|
||||
}
|
||||
|
||||
public String getSendPutString() {
|
||||
return sendPutString;
|
||||
}
|
||||
|
||||
public void setSendPutString(String sendPutString) {
|
||||
this.sendPutString = sendPutString;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatusOver() {
|
||||
return statusOver;
|
||||
}
|
||||
|
||||
public void setStatusOver(String statusOver) {
|
||||
this.statusOver = statusOver;
|
||||
}
|
||||
|
||||
public String getTotalFreight() {
|
||||
return totalFreight;
|
||||
}
|
||||
|
||||
public void setTotalFreight(String totalFreight) {
|
||||
this.totalFreight = totalFreight;
|
||||
}
|
||||
|
||||
public String getVehicleType() {
|
||||
return vehicleType;
|
||||
}
|
||||
|
||||
public void setVehicleType(String vehicleType) {
|
||||
this.vehicleType = vehicleType;
|
||||
}
|
||||
|
||||
public int getWaybillId() {
|
||||
return waybillId;
|
||||
}
|
||||
|
||||
public void setWaybillId(int waybillId) {
|
||||
this.waybillId = waybillId;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
112
app/src/main/java/com/oneclouds/cargo/bean/ocr/OCRBankBean.java
Normal file
112
app/src/main/java/com/oneclouds/cargo/bean/ocr/OCRBankBean.java
Normal file
@ -0,0 +1,112 @@
|
||||
package com.oneclouds.cargo.bean.ocr;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/16 16:23
|
||||
* @description:
|
||||
*/
|
||||
public class OCRBankBean {
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int id;
|
||||
private String url;
|
||||
private String bankCardNumber;
|
||||
private String validDate;
|
||||
private String bankCardType;
|
||||
private String bankName;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getBankCardNumber() {
|
||||
return bankCardNumber;
|
||||
}
|
||||
|
||||
public void setBankCardNumber(String bankCardNumber) {
|
||||
this.bankCardNumber = bankCardNumber;
|
||||
}
|
||||
|
||||
public String getValidDate() {
|
||||
return validDate;
|
||||
}
|
||||
|
||||
public void setValidDate(String validDate) {
|
||||
this.validDate = validDate;
|
||||
}
|
||||
|
||||
public String getBankCardType() {
|
||||
return bankCardType;
|
||||
}
|
||||
|
||||
public void setBankCardType(String bankCardType) {
|
||||
this.bankCardType = bankCardType;
|
||||
}
|
||||
|
||||
public String getBankName() {
|
||||
return bankName;
|
||||
}
|
||||
|
||||
public void setBankName(String bankName) {
|
||||
this.bankName = bankName;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,104 @@
|
||||
package com.oneclouds.cargo.bean.ocr;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/5 10:10
|
||||
* @description:身份证背面实体类
|
||||
*/
|
||||
public class OCRCardBackBean {
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int id;
|
||||
private String url;
|
||||
private String startTime;
|
||||
private String endTime;
|
||||
private String organizationName;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(String startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public String getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(String endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public String getOrganizationName() {
|
||||
return organizationName;
|
||||
}
|
||||
|
||||
public void setOrganizationName(String organizationName) {
|
||||
this.organizationName = organizationName;
|
||||
}
|
||||
}
|
||||
}
|
||||
132
app/src/main/java/com/oneclouds/cargo/bean/ocr/OCRCardBean.java
Normal file
132
app/src/main/java/com/oneclouds/cargo/bean/ocr/OCRCardBean.java
Normal file
@ -0,0 +1,132 @@
|
||||
package com.oneclouds.cargo.bean.ocr;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/5 10:05
|
||||
* @description:身份证实体类
|
||||
*/
|
||||
public class OCRCardBean {
|
||||
|
||||
|
||||
private int res;
|
||||
private int code;
|
||||
private boolean success;
|
||||
private String msg;
|
||||
private DataDTO data;
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int id;
|
||||
private String url;
|
||||
private String name;
|
||||
private String nation;
|
||||
private String address;
|
||||
private String cardId;
|
||||
private String birthday;
|
||||
private String sex;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getNation() {
|
||||
return nation;
|
||||
}
|
||||
|
||||
public void setNation(String nation) {
|
||||
this.nation = nation;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getCardId() {
|
||||
return cardId;
|
||||
}
|
||||
|
||||
public void setCardId(String cardId) {
|
||||
this.cardId = cardId;
|
||||
}
|
||||
|
||||
public String getBirthday() {
|
||||
return birthday;
|
||||
}
|
||||
|
||||
public void setBirthday(String birthday) {
|
||||
this.birthday = birthday;
|
||||
}
|
||||
|
||||
public String getSex() {
|
||||
return sex;
|
||||
}
|
||||
|
||||
public void setSex(String sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,203 @@
|
||||
package com.oneclouds.cargo.bean.ocr;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/22 22:31
|
||||
* @description:
|
||||
*/
|
||||
public class OcrBusinessLicenseBean {
|
||||
|
||||
private int code;
|
||||
private DataDTO data;
|
||||
private String msg;
|
||||
private int res;
|
||||
private boolean success;
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public void setRes(int res) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private String address;
|
||||
private String businessScope;
|
||||
private String companyName;
|
||||
private String dateOfEstablishment;
|
||||
private String formation;
|
||||
private int id;
|
||||
private String idNumber;
|
||||
private String legalPerson;
|
||||
private String paidInCapital;
|
||||
private String registeredCapital;
|
||||
private String registrationAuthority;
|
||||
private String socialCreditCode;
|
||||
private String taxRegistrationNumber;
|
||||
private String type;
|
||||
private String url;
|
||||
private String validPeriod;
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getBusinessScope() {
|
||||
return businessScope;
|
||||
}
|
||||
|
||||
public void setBusinessScope(String businessScope) {
|
||||
this.businessScope = businessScope;
|
||||
}
|
||||
|
||||
public String getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public String getDateOfEstablishment() {
|
||||
return dateOfEstablishment;
|
||||
}
|
||||
|
||||
public void setDateOfEstablishment(String dateOfEstablishment) {
|
||||
this.dateOfEstablishment = dateOfEstablishment;
|
||||
}
|
||||
|
||||
public String getFormation() {
|
||||
return formation;
|
||||
}
|
||||
|
||||
public void setFormation(String formation) {
|
||||
this.formation = formation;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getIdNumber() {
|
||||
return idNumber;
|
||||
}
|
||||
|
||||
public void setIdNumber(String idNumber) {
|
||||
this.idNumber = idNumber;
|
||||
}
|
||||
|
||||
public String getLegalPerson() {
|
||||
return legalPerson;
|
||||
}
|
||||
|
||||
public void setLegalPerson(String legalPerson) {
|
||||
this.legalPerson = legalPerson;
|
||||
}
|
||||
|
||||
public String getPaidInCapital() {
|
||||
return paidInCapital;
|
||||
}
|
||||
|
||||
public void setPaidInCapital(String paidInCapital) {
|
||||
this.paidInCapital = paidInCapital;
|
||||
}
|
||||
|
||||
public String getRegisteredCapital() {
|
||||
return registeredCapital;
|
||||
}
|
||||
|
||||
public void setRegisteredCapital(String registeredCapital) {
|
||||
this.registeredCapital = registeredCapital;
|
||||
}
|
||||
|
||||
public String getRegistrationAuthority() {
|
||||
return registrationAuthority;
|
||||
}
|
||||
|
||||
public void setRegistrationAuthority(String registrationAuthority) {
|
||||
this.registrationAuthority = registrationAuthority;
|
||||
}
|
||||
|
||||
public String getSocialCreditCode() {
|
||||
return socialCreditCode;
|
||||
}
|
||||
|
||||
public void setSocialCreditCode(String socialCreditCode) {
|
||||
this.socialCreditCode = socialCreditCode;
|
||||
}
|
||||
|
||||
public String getTaxRegistrationNumber() {
|
||||
return taxRegistrationNumber;
|
||||
}
|
||||
|
||||
public void setTaxRegistrationNumber(String taxRegistrationNumber) {
|
||||
this.taxRegistrationNumber = taxRegistrationNumber;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getValidPeriod() {
|
||||
return validPeriod;
|
||||
}
|
||||
|
||||
public void setValidPeriod(String validPeriod) {
|
||||
this.validPeriod = validPeriod;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.oneclouds.cargo.constant;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/14 17:36
|
||||
* @description:
|
||||
*/
|
||||
public class SPConstant {
|
||||
|
||||
//数据
|
||||
public static final String DATA="data";
|
||||
//token
|
||||
public static final String DATA_TOKEN="data_token";
|
||||
//token
|
||||
public static final String DATA_USER="data_user";
|
||||
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
package com.oneclouds.cargo.event;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/14 15:37
|
||||
* @description:
|
||||
*/
|
||||
public class AddressEvent{
|
||||
|
||||
private String message;
|
||||
private int type;
|
||||
|
||||
public AddressEvent(String message,int type) {
|
||||
this.message = message;
|
||||
this.type = type;
|
||||
}
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
package com.oneclouds.cargo.event;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/26 9:31
|
||||
* @description:
|
||||
*/
|
||||
public class BalanceEvent {
|
||||
|
||||
private String message;
|
||||
|
||||
public BalanceEvent(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
37
app/src/main/java/com/oneclouds/cargo/event/BaseEvent.java
Normal file
37
app/src/main/java/com/oneclouds/cargo/event/BaseEvent.java
Normal file
@ -0,0 +1,37 @@
|
||||
package com.oneclouds.cargo.event;
|
||||
|
||||
/**
|
||||
* @ClassName BaseEvent
|
||||
* @Author 用户
|
||||
* @Date 2022/5/18 16:11
|
||||
* @Description TODO
|
||||
*/
|
||||
public class BaseEvent<T> {
|
||||
private String msg;
|
||||
private T data;
|
||||
public BaseEvent() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
public BaseEvent(String msg, T data) {
|
||||
this.msg = msg;
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public T getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(T data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
21
app/src/main/java/com/oneclouds/cargo/event/GoodsEvent.java
Normal file
21
app/src/main/java/com/oneclouds/cargo/event/GoodsEvent.java
Normal file
@ -0,0 +1,21 @@
|
||||
package com.oneclouds.cargo.event;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/16 10:08
|
||||
* @description:
|
||||
*/
|
||||
public class GoodsEvent {
|
||||
private String message;
|
||||
|
||||
public GoodsEvent(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,23 @@
|
||||
package com.oneclouds.cargo.event;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/10/31 18:41
|
||||
* @description:
|
||||
*/
|
||||
public class InformationEvent {
|
||||
|
||||
private String message;
|
||||
|
||||
public InformationEvent(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
package com.oneclouds.cargo.event;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/10/31 18:41
|
||||
* @description:
|
||||
*/
|
||||
public class InformationEventTwo {
|
||||
|
||||
private String os;
|
||||
private String op;
|
||||
|
||||
public InformationEventTwo(String os, String op) {
|
||||
this.os = os;
|
||||
this.op = op;
|
||||
}
|
||||
|
||||
public String getOs() {
|
||||
return os;
|
||||
}
|
||||
|
||||
public void setOs(String os) {
|
||||
this.os = os;
|
||||
}
|
||||
|
||||
public String getOp() {
|
||||
return op;
|
||||
}
|
||||
|
||||
public void setOp(String op) {
|
||||
this.op = op;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,101 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
import android.util.Log;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.request.bean.AddressInputBean;
|
||||
import com.oneclouds.cargo.request.manager.UrlManager;
|
||||
import com.oneclouds.cargo.util.MapUtil;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.http.OkDate;
|
||||
import com.oneclouds.cargo.util.http.OkHttpUtil;
|
||||
import com.oneclouds.cargo.util.http.RequestTest;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import okhttp3.Request;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/7 11:37
|
||||
* @description:地址请求
|
||||
*/
|
||||
public class AddressRequest {
|
||||
|
||||
private Context con;
|
||||
private Handler hd;
|
||||
private String token;
|
||||
|
||||
public AddressRequest(Context con, Handler hd) {
|
||||
this.con = con;
|
||||
this.hd = hd;
|
||||
}
|
||||
|
||||
private Gson gson=new Gson();
|
||||
|
||||
public String getToken(Context con) {
|
||||
return SPUtil.getSP(con, SPConstant.DATA,SPConstant.DATA_TOKEN);
|
||||
}
|
||||
|
||||
//地址信息删除
|
||||
public static final String ADDRESS_DELETE="/app/shipper/address/delete";
|
||||
//地址信息查询
|
||||
public static final String ADDRESS_FIND_BY_ID="/app/shipper/address/findById";
|
||||
//地址信息列表
|
||||
public static final String ADDRESS_FIND_PAGE="/app/shipper/address/findPage";
|
||||
//查询登录用户地址信息列表
|
||||
public static final String ADDRESS_FIND_PAGE_MY_SELF="/app/shipper/address/findPageMySelf";
|
||||
//地址信息保存
|
||||
public static final String ADDRESS_SAVE="/app/shipper/address/save";
|
||||
|
||||
|
||||
public static final String COMPANY_SAVE="/app/shipper/auth/companyInfo";
|
||||
|
||||
//地址信息删除
|
||||
public void addressDelete(int id){
|
||||
Log.e("--id--",id+"");
|
||||
Request re = OkHttpUtil.postFrom(new OkDate(UrlManager.getAddressDelete(), "post", ""),getToken(con),id);
|
||||
RequestTest.test(1,ADDRESS_DELETE,re,con,hd);
|
||||
}
|
||||
//地址信息查询
|
||||
public void addressFindById(int id){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("id",id);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderCarTypeAndCarLong(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,ADDRESS_FIND_BY_ID,re,con,hd);
|
||||
}
|
||||
//地址信息列表
|
||||
public void addressFindPage(int id){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("id",id);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderCarTypeAndCarLong(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,ADDRESS_FIND_PAGE,re,con,hd);
|
||||
}
|
||||
//查询登录用户地址信息列表
|
||||
public void addressFindPageMySelf(int page,int limit,int addressType){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("page",page);
|
||||
map.put("limit",limit);
|
||||
map.put("addressType",addressType);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getAddressFindPageMySelf(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,ADDRESS_FIND_PAGE_MY_SELF,re,con,hd);
|
||||
}
|
||||
//地址信息保存
|
||||
public void addressSave(AddressInputBean aib){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getAddressSave(), "post", gson.toJson(aib)),getToken(con),con);
|
||||
RequestTest.test(1,ADDRESS_SAVE,re,con,hd);
|
||||
}
|
||||
|
||||
//地址信息保存
|
||||
public void getComInfo(){
|
||||
Request re = OkHttpUtil.get(new OkDate(UrlManager.getCompanyInfo(), "get", ""),getToken(con),con);
|
||||
RequestTest.test(1,COMPANY_SAVE,re,con,hd);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
109
app/src/main/java/com/oneclouds/cargo/request/AuthRequest.java
Normal file
109
app/src/main/java/com/oneclouds/cargo/request/AuthRequest.java
Normal file
@ -0,0 +1,109 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.request.bean.AuthCompanyInputBean;
|
||||
import com.oneclouds.cargo.request.bean.AuthCompanySaveInputBean;
|
||||
import com.oneclouds.cargo.request.bean.AuthCorporationInputBean;
|
||||
import com.oneclouds.cargo.request.bean.AuthSaveInputBean;
|
||||
import com.oneclouds.cargo.request.manager.UrlManager;
|
||||
import com.oneclouds.cargo.util.MapUtil;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.http.OkDate;
|
||||
import com.oneclouds.cargo.util.http.OkHttpUtil;
|
||||
import com.oneclouds.cargo.util.http.RequestTest;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import okhttp3.Request;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/18 10:30
|
||||
* @description:
|
||||
*/
|
||||
public class AuthRequest {
|
||||
|
||||
private Context con;
|
||||
private Handler hd;
|
||||
private String token;
|
||||
|
||||
public AuthRequest(Context con, Handler hd) {
|
||||
this.con = con;
|
||||
this.hd = hd;
|
||||
}
|
||||
|
||||
private Gson gson=new Gson();
|
||||
|
||||
public String getToken(Context con) {
|
||||
return SPUtil.getSP(con, SPConstant.DATA,SPConstant.DATA_TOKEN);
|
||||
}
|
||||
|
||||
//货主认证信息查看
|
||||
public static final String AUTH_INFO="auth_authInfo";
|
||||
//货主企业公司信息认证保存
|
||||
public static final String AUTH_ENTER_PRISE_AUTH_COMPANY="auth_enterpriseAuthCompany";
|
||||
//货主企业法人信息保存
|
||||
public static final String AUTH_ENTER_PRISE_AUTH_CORPORATION="auth_nterpriseAuthCorporation";
|
||||
//货主企业认证保存
|
||||
public static final String AUTH_ENTER_PRISE_AUTH_SAVE="auth_enterpriseAuthSave";
|
||||
//货主企业委托授权书信息保存
|
||||
public static final String AUTH_ENTER_PRISE_AUTH_WARRANT="auth_enterpriseAuthWarrant";
|
||||
//货主信息是否已认证
|
||||
public static final String AUTH_IS_AUTH="auth_isAuth";
|
||||
//货主个人认证保存
|
||||
public static final String AUTH_PERSON_AUTH_SAVE="auth_personAuthSave";
|
||||
//货主党员认证
|
||||
public static final String AUTH_PARTY_MEMBER="/app/user/partyMember";
|
||||
|
||||
//货主认证信息查看
|
||||
public void auth_info(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getAuthInfo(), "post", ""),getToken(con),con);
|
||||
RequestTest.test(1,AUTH_INFO,re,con,hd);
|
||||
}
|
||||
//货主企业公司信息认证保存
|
||||
public void authCompany(AuthCompanyInputBean acib){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getAuthEnterPriseAuthCompany(), "post", gson.toJson(acib)),getToken(con),con);
|
||||
RequestTest.test(1,AUTH_ENTER_PRISE_AUTH_COMPANY,re,con,hd);
|
||||
}
|
||||
//货主企业法人信息保存
|
||||
public void authCoproration(AuthCorporationInputBean aci){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getAuthEnterPriseAuthCorporation(), "post", gson.toJson(aci)),getToken(con),con);
|
||||
RequestTest.test(1,AUTH_ENTER_PRISE_AUTH_CORPORATION,re,con,hd);
|
||||
}
|
||||
//货主企业认证保存
|
||||
public void authCompanySave(AuthCompanySaveInputBean acsi){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getAuthEnterPriseAuthCompany(), "post", gson.toJson(acsi)),getToken(con),con);
|
||||
RequestTest.test(1,AUTH_ENTER_PRISE_AUTH_SAVE,re,con,hd);
|
||||
}
|
||||
//货主企业委托授权书信息保存
|
||||
public void authWarrant(int warrant){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("warrant",warrant);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getAuthEnterPriseAuthWarrant(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,AUTH_ENTER_PRISE_AUTH_WARRANT,re,con,hd);
|
||||
}
|
||||
//货主信息是否已认证
|
||||
public void isAuth(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getAuthIsAuth(), "post", ""),getToken(con),con);
|
||||
RequestTest.test(1,AUTH_IS_AUTH,re,con,hd);
|
||||
}
|
||||
//货主个人认证保存
|
||||
public void authSave(AuthSaveInputBean asib){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getAuthPersonAuthSave(), "post",gson.toJson(asib)),getToken(con),con);
|
||||
RequestTest.test(1,AUTH_PERSON_AUTH_SAVE,re,con,hd);
|
||||
}
|
||||
//党员认证
|
||||
public void partyMember(String url){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("partyMemberUrl",url);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getAuthPartyMember(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,AUTH_PARTY_MEMBER,re,con,hd);
|
||||
}
|
||||
|
||||
}
|
||||
118
app/src/main/java/com/oneclouds/cargo/request/CateRequest.java
Normal file
118
app/src/main/java/com/oneclouds/cargo/request/CateRequest.java
Normal file
@ -0,0 +1,118 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.request.bean.CateInputBean;
|
||||
import com.oneclouds.cargo.request.manager.UrlManager;
|
||||
import com.oneclouds.cargo.util.MapUtil;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.http.OkDate;
|
||||
import com.oneclouds.cargo.util.http.OkHttpUtil;
|
||||
import com.oneclouds.cargo.util.http.RequestTest;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import okhttp3.Request;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/7 11:45
|
||||
* @description:
|
||||
*/
|
||||
|
||||
public class CateRequest {
|
||||
//SPConstant
|
||||
private Context con;
|
||||
private Handler hd;
|
||||
private String token;
|
||||
|
||||
public CateRequest(Context con, Handler hd) {
|
||||
this.con = con;
|
||||
this.hd = hd;
|
||||
}
|
||||
|
||||
private Gson gson=new Gson();
|
||||
|
||||
public String getToken(Context con) {
|
||||
return SPUtil.getSP(con, SPConstant.DATA,SPConstant.DATA_TOKEN);
|
||||
}
|
||||
|
||||
//货物小类添加
|
||||
public static final String CATE_ADD="cate_add";
|
||||
//货物小类删除
|
||||
public static final String CATE_DELETE="cate_delete";
|
||||
//货物小类修改
|
||||
public static final String CATE_UPDATE="cate_update";
|
||||
//货物小类列表
|
||||
public static final String CATE_LIST="cate_list";
|
||||
//无分页小类列表
|
||||
public static final String CATE_NLIST="cate_nlist";
|
||||
//无分页大类列表
|
||||
public static final String CATE_NPLIST="cate_nplist";
|
||||
//安联货物分类
|
||||
public static final String CATE_NPLIST_AL="cate_nplistAl";
|
||||
public static final String CATE_CAR_LIST="cate_nplist_car_list";
|
||||
|
||||
//货物小类添加
|
||||
public void addCate(CateInputBean cb){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getCateAdd(), "post", gson.toJson(cb)),getToken(con),con);
|
||||
RequestTest.test(1,CATE_ADD,re,con,hd);
|
||||
}
|
||||
//货物小类删除
|
||||
public void deleteCate(int id){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("id",0);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getCateDelete(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,CATE_DELETE,re,con,hd);
|
||||
}
|
||||
//货物小类修改
|
||||
public void updateCate(CateInputBean cb){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getCateUpdate(), "post", gson.toJson(cb)),getToken(con),con);
|
||||
RequestTest.test(1,CATE_UPDATE,re,con,hd);
|
||||
}
|
||||
//货物小类列表
|
||||
public void cateList(){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("cateName","");
|
||||
map.put("isDisabled",0);
|
||||
map.put("limit",0);
|
||||
map.put("page",0);
|
||||
map.put("pid","");
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getCateList(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,CATE_LIST,re,con,hd);
|
||||
}
|
||||
//无分页小类列表
|
||||
public void cateNList(){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("cateName","");
|
||||
map.put("pid","");
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getCateNlist(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,CATE_NLIST,re,con,hd);
|
||||
}
|
||||
//无分页大类列表
|
||||
public void cateNPList(){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("cateName","");
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getCateNplist(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,CATE_NPLIST,re,con,hd);
|
||||
}
|
||||
//安联货物分类
|
||||
public void cateNPListAl(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getCateNplistAl(), "post", ""),getToken(con),con);
|
||||
RequestTest.test(1,CATE_NPLIST_AL,re,con,hd);
|
||||
}
|
||||
|
||||
//获取车辆列表
|
||||
public void getCarList(String num){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("carNum",num);
|
||||
map.put("driverPhone",num);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getCarList(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,CATE_CAR_LIST,re,con,hd);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/7 11:35
|
||||
* @description:货物请求
|
||||
*/
|
||||
public class GoodsRequest {
|
||||
}
|
||||
@ -0,0 +1,99 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
import android.util.Log;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.request.bean.InvoiceHaederInputBena;
|
||||
import com.oneclouds.cargo.request.bean.InvoiceInputBean;
|
||||
import com.oneclouds.cargo.request.manager.UrlManager;
|
||||
import com.oneclouds.cargo.util.MapUtil;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.http.OkDate;
|
||||
import com.oneclouds.cargo.util.http.OkHttpUtil;
|
||||
import com.oneclouds.cargo.util.http.RequestTest;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import cn.hutool.json.JSONObject;
|
||||
import okhttp3.Request;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/7 11:36
|
||||
* @description:发票请求
|
||||
*/
|
||||
public class InvoiceRequest {
|
||||
|
||||
private Context con;
|
||||
private Handler hd;
|
||||
private String token;
|
||||
|
||||
public InvoiceRequest(Context con, Handler hd) {
|
||||
this.con = con;
|
||||
this.hd = hd;
|
||||
}
|
||||
|
||||
private Gson gson=new Gson();
|
||||
|
||||
public String getToken(Context con) {
|
||||
return SPUtil.getSP(con, SPConstant.DATA,SPConstant.DATA_TOKEN);
|
||||
}
|
||||
/*--发票管理--*/
|
||||
|
||||
//可申请发票的订单
|
||||
private static final String INVOICE_CAN_APPLY_ORDER="/app/shipper/invoice/canApplyOrder";
|
||||
//已申请开票详情
|
||||
private static final String INVOICE_DETAILS_BY_ID="/app/shipper/invoice/detailsById";
|
||||
//发票申请记录
|
||||
public static final String INVOICE_FIND_PAGE="invoice_findPage";
|
||||
//申请发票保存
|
||||
public static final String INVOICE_SAVE="invoice_save";
|
||||
//发票抬头信息删除
|
||||
public static final String INVOICE_DELETE="invoice_title_delete";
|
||||
//通过id查询发票抬头信息
|
||||
private static final String INVOICE_FIND_BY_ID="/app/shipper/invoice/title/findById";
|
||||
//查询当前用户最新发票抬头信息
|
||||
public static final String INVOICE_FIND_SHIPPER_INVOICE_TITLE="invoice_title_findShipperInvoiceTitle";
|
||||
//发票抬头信息保存
|
||||
public static final String INVOICE_TITLE_SAVE="invoice_title_save";
|
||||
|
||||
//查询当前用户最新发票抬头信息
|
||||
public void invoiceHeader(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getInvoiceFindShipperInvoiceTitle(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,INVOICE_FIND_SHIPPER_INVOICE_TITLE,re,con,hd);
|
||||
}
|
||||
//发票抬头信息保存
|
||||
public void invoiceHeaderAdd(InvoiceHaederInputBena ihi,int id){
|
||||
JSONObject json=new JSONObject(gson.toJson(ihi));
|
||||
if(id!=-1){
|
||||
json.putOnce("id",id);
|
||||
}
|
||||
Log.e("-{json}-",json.toString());
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getInvoiceTitleSave(), "post", json.toString()),getToken(con),con);
|
||||
RequestTest.test(1,INVOICE_TITLE_SAVE,re,con,hd);
|
||||
}
|
||||
//发票抬头信息删除
|
||||
public void invoiceHeaderDel(int id){
|
||||
Request re = OkHttpUtil.postFrom(new OkDate(UrlManager.getInvoiceDelete(), "post",""),getToken(con),id);
|
||||
RequestTest.test(1,INVOICE_DELETE,re,con,hd);
|
||||
}
|
||||
//申请发票保存
|
||||
public void invoiceSave(InvoiceInputBean iib){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getInvoiceSave(), "post",gson.toJson(iib)),getToken(con),con);
|
||||
RequestTest.test(1,INVOICE_SAVE,re,con,hd);
|
||||
}
|
||||
//发票申请记录
|
||||
public void invoiceSave(int page,int limit){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("page",page);
|
||||
map.put("limit",limit);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getInvoiceFindPage(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,INVOICE_FIND_PAGE,re,con,hd);
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.request.manager.UrlManager;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.http.OkDate;
|
||||
import com.oneclouds.cargo.util.http.OkHttpUtil;
|
||||
import com.oneclouds.cargo.util.http.RequestTest;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import okhttp3.Request;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/16 16:27
|
||||
* @description:OCR识别请求
|
||||
*/
|
||||
public class OCRRequest {
|
||||
|
||||
private Context con;
|
||||
private Handler hd;
|
||||
|
||||
public OCRRequest(Context con, Handler hd) {
|
||||
this.con = con;
|
||||
this.hd = hd;
|
||||
}
|
||||
|
||||
private Gson gson=new Gson();
|
||||
|
||||
public String getToken(Context con) {
|
||||
return SPUtil.getSP(con, SPConstant.DATA,SPConstant.DATA_TOKEN);
|
||||
}
|
||||
/*--OCR识别--*/
|
||||
|
||||
//银行卡
|
||||
public static final String OCR_BANK="ocr_bank";
|
||||
//营业执照
|
||||
public static final String OCR_BUSINESS_LICENSE="ocr_businessLicense";
|
||||
//身份证正面
|
||||
public static final String OCR_ID_CARD_FRONT="ocr_idCardFront";
|
||||
//身份证识别反面
|
||||
public static final String OCR_ID_CARD_BACK="ocr_idCardBack";
|
||||
//银行卡
|
||||
public void ORCBank(File file){
|
||||
Request re = OkHttpUtil.postFile(new OkDate(UrlManager.getOcrBank(),"post", ""),getToken(con),file,con);
|
||||
RequestTest.test(1, OCR_BANK,re,con,hd);
|
||||
}
|
||||
//营业执照
|
||||
public void ORCBusiness(File file){
|
||||
Request re = OkHttpUtil.postFile(new OkDate(UrlManager.getOcrBusinessLicense(),"post", ""),getToken(con),file,con);
|
||||
RequestTest.test(1, OCR_BUSINESS_LICENSE,re,con,hd);
|
||||
}
|
||||
//身份证正面
|
||||
public void ORCIdCard(File file){
|
||||
Request re = OkHttpUtil.postFile(new OkDate(UrlManager.getOcrIdCardFront(),"post", ""),getToken(con),file,con);
|
||||
RequestTest.test(1, OCR_ID_CARD_FRONT,re,con,hd);
|
||||
}
|
||||
//身份证识别反面
|
||||
public void ORCIdCardBack(File file){
|
||||
Request re = OkHttpUtil.postFile(new OkDate(UrlManager.getOcrIdCardBack(),"post", ""),getToken(con),file,con);
|
||||
RequestTest.test(1, OCR_ID_CARD_BACK,re,con,hd);
|
||||
}
|
||||
|
||||
}
|
||||
124
app/src/main/java/com/oneclouds/cargo/request/OrderRequest.java
Normal file
124
app/src/main/java/com/oneclouds/cargo/request/OrderRequest.java
Normal file
@ -0,0 +1,124 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.request.bean.OrderInputBean;
|
||||
import com.oneclouds.cargo.request.manager.UrlManager;
|
||||
import com.oneclouds.cargo.util.MapUtil;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.http.OkDate;
|
||||
import com.oneclouds.cargo.util.http.OkHttpUtil;
|
||||
import com.oneclouds.cargo.util.http.RequestTest;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import okhttp3.Request;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/7 11:39
|
||||
* @description:货源请求
|
||||
*/
|
||||
public class OrderRequest {
|
||||
|
||||
private Context con;
|
||||
private Handler hd;
|
||||
private String token;
|
||||
|
||||
public OrderRequest(Context con, Handler hd) {
|
||||
this.con = con;
|
||||
this.hd = hd;
|
||||
}
|
||||
|
||||
private Gson gson=new Gson();
|
||||
|
||||
public String getToken(Context con) {
|
||||
return SPUtil.getSP(con, SPConstant.DATA,SPConstant.DATA_TOKEN);
|
||||
}
|
||||
|
||||
//车型车长
|
||||
public static final String ORDER_CAR_TYPE_AND_CAR_LONG="order_CarTypeAndCarLong";
|
||||
//业务类型
|
||||
public static final String ORDER_BUSINESS_TYPE_LIST="order_businessTypeList";
|
||||
|
||||
public static final String ORDER_BUSINESS_TYPE_LIST_JTT="order_businessTypeList_jtt";
|
||||
|
||||
public static final String ORDER_BUSINESS_TYPE_LIST_AL="order_businessTypeList_al";
|
||||
//运单轨迹
|
||||
private static final String ORDER_FIND_LOCUS_LIST="order_findLocusList";
|
||||
//货源列表
|
||||
public static final String ORDER_FIND_ORDER_LIST="order_findOrderList";
|
||||
//货源删除
|
||||
public static final String ORDER_DEL="order_orderDel";
|
||||
//货源撤销
|
||||
public static final String ORDER_REVOKE="order_orderRevoke";
|
||||
//货源查询状态列表
|
||||
private static final String ORDER_STATELIST="order_orderStateList";
|
||||
//包装方式
|
||||
public static final String ORDER_PACK_NAME_LIST="order_packNameList";
|
||||
//货源保存/提交
|
||||
public static final String ORDER_PULIST_ORDER="publishOrder";
|
||||
|
||||
//车型车长
|
||||
public void carTypeLongList(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderCarTypeAndCarLong(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,ORDER_CAR_TYPE_AND_CAR_LONG,re,con,hd);
|
||||
}
|
||||
//业务类型
|
||||
public void businssTypeList(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderBusinessTypeList(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,ORDER_BUSINESS_TYPE_LIST,re,con,hd);
|
||||
}
|
||||
|
||||
//业务类型
|
||||
public void businssTypeListJtt(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderBusinessTypeListJtt(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,ORDER_BUSINESS_TYPE_LIST_JTT,re,con,hd);
|
||||
}
|
||||
|
||||
//业务类型
|
||||
public void businssTypeListAl(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderBusinessTypeListAl(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,ORDER_BUSINESS_TYPE_LIST_AL,re,con,hd);
|
||||
}
|
||||
|
||||
//包装方式
|
||||
public void packNameList(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderPackNameList(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,ORDER_PACK_NAME_LIST,re,con,hd);
|
||||
}
|
||||
//货源保存/提交
|
||||
public void pulistOrder(OrderInputBean oib){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderPulistOrder(), "post",gson.toJson(oib)),getToken(con),con);
|
||||
RequestTest.test(1,ORDER_PULIST_ORDER,re,con,hd);
|
||||
}
|
||||
//货源列表
|
||||
public void orderList(){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("page",1);
|
||||
map.put("limit",10);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderFindOrderList(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,ORDER_FIND_ORDER_LIST,re,con,hd);
|
||||
}
|
||||
//货源删除
|
||||
public void orderDelete(int id){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("isPlatDispatch",0);
|
||||
map.put("order_id",id);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderDel(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,ORDER_DEL,re,con,hd);
|
||||
}
|
||||
//货源撤销
|
||||
public void orderRevoke(int id){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("isPlatDispatch",0);
|
||||
map.put("order_id",id);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderRevoke(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,ORDER_REVOKE,re,con,hd);
|
||||
}
|
||||
}
|
||||
240
app/src/main/java/com/oneclouds/cargo/request/PublicRequest.java
Normal file
240
app/src/main/java/com/oneclouds/cargo/request/PublicRequest.java
Normal file
@ -0,0 +1,240 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Handler;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.request.bean.InsBankInputBean;
|
||||
import com.oneclouds.cargo.request.bean.LoginRegInputBean;
|
||||
import com.oneclouds.cargo.request.manager.UrlManager;
|
||||
import com.oneclouds.cargo.util.MapUtil;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.http.OkDate;
|
||||
import com.oneclouds.cargo.util.http.OkHttpUtil;
|
||||
import com.oneclouds.cargo.util.http.RequestTest;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import okhttp3.Request;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/9 14:24
|
||||
* @description:公共接口请求
|
||||
*/
|
||||
public class PublicRequest {
|
||||
|
||||
private Context con;
|
||||
private Handler hd;
|
||||
|
||||
public PublicRequest(Context con, Handler hd) {
|
||||
this.con = con;
|
||||
this.hd = hd;
|
||||
}
|
||||
private Gson gson=new Gson();
|
||||
|
||||
public String getToken(Context con) {
|
||||
return SPUtil.getSP(con, SPConstant.DATA,SPConstant.DATA_TOKEN);
|
||||
}
|
||||
|
||||
//获取验证码
|
||||
public static final String SEND_CODE = "sendcode";
|
||||
//忘记密码
|
||||
public static final String FORGETPWD = "forgetpwd";
|
||||
//账户登录
|
||||
public static final String LOGIN="login";
|
||||
//账户信息
|
||||
public static final String USER_DATA="userdate";
|
||||
//银行卡列表
|
||||
public static final String BANK_CARD_LIST="bank_card_list";
|
||||
//绑定银行卡
|
||||
public static final String BANK_CARD_ADD="add_bank";
|
||||
//删除银行卡
|
||||
public static final String BANK_CARD_DELETE="delete_bank";
|
||||
//账户提现
|
||||
public static final String BANK_CASH_APPLY="take_money";
|
||||
//生成电子账户
|
||||
public static final String CONTRACTS_ADD="add_contracts";
|
||||
//获取电子账户
|
||||
public static final String CONTRACTS_GET="get_contracts";
|
||||
//获取账户未读消息
|
||||
public static final String NOT_NEWS_COUNT="not_news_count";
|
||||
//获取账户消息
|
||||
public static final String NEW_LIST="new_list";
|
||||
//已读消息
|
||||
public static final String NEWS_READ="news_read";
|
||||
//已读全部消息
|
||||
public static final String NEWS_READ_ALL="news_read_all";
|
||||
//上传文件
|
||||
public static final String UPLOAD="upload";
|
||||
//上传头像
|
||||
public static final String UPLOAD_HEAD="upload_head";
|
||||
//版本更新
|
||||
public static String VERSION ="up_app";
|
||||
//配置项信息
|
||||
public static String CONFIG ="config";
|
||||
//大屏URL
|
||||
public static String URL ="url";
|
||||
|
||||
//获取验证码
|
||||
public void getPhoneCode(String phone){
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("phone",phone);
|
||||
map.put("sendType",1);
|
||||
Request re = OkHttpUtil.post(new OkDate(UrlManager.getSendCode(), "post", MapUtil.mapJson(map)),con);
|
||||
RequestTest.test(1,SEND_CODE,re,con,hd);
|
||||
}
|
||||
|
||||
//获取验证码
|
||||
public void forgetPwd(String phone,String code,String pwd){
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("uname",phone);
|
||||
map.put("smscode",code);
|
||||
map.put("upass",pwd);
|
||||
map.put("reupass",pwd);
|
||||
map.put("roleId","2");
|
||||
Request re = OkHttpUtil.post(new OkDate(UrlManager.forgetPwd(), "post", MapUtil.mapJson(map)),con);
|
||||
RequestTest.test(1,FORGETPWD,re,con,hd);
|
||||
}
|
||||
//账户登录
|
||||
public void userLogin(LoginRegInputBean lrib){
|
||||
Request re = OkHttpUtil.post(new OkDate(UrlManager.getLOGIN(), "post", gson.toJson(lrib)),con);
|
||||
RequestTest.test(1,LOGIN,re,con,hd);
|
||||
}//账户登录
|
||||
public void userLogin2(LoginRegInputBean lrib){
|
||||
Request re = OkHttpUtil.post(new OkDate(UrlManager.getLOGIN2(), "post", gson.toJson(lrib)),con);
|
||||
RequestTest.test(1,LOGIN,re,con,hd);
|
||||
}
|
||||
//账户信息
|
||||
public void getUserInfo(){
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("idcarName","");
|
||||
map.put("idcard","");
|
||||
map.put("idcardAddress","");
|
||||
map.put("idcardPhoto",0);
|
||||
map.put("idcardPhotoBack",0);
|
||||
map.put("idcardSex",0);
|
||||
map.put("idcardValidity","");
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getUserInfo(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,USER_DATA,re,con,hd);
|
||||
}
|
||||
//银行卡列表
|
||||
public void getBankCardList(){
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("cardType",1);
|
||||
map.put("createUser",SPUtil.getSP(con,"LoginActivity.USER","LoginActivity.USER_ID"));
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getBankCardList(), "post",MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1, BANK_CARD_LIST,re,con,hd);
|
||||
}
|
||||
//绑定银行卡
|
||||
public void insBankCard(InsBankInputBean ibib){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getBankCardAdd(), "post",gson.toJson(ibib)),getToken(con),con);
|
||||
RequestTest.test(1, BANK_CARD_ADD,re,con,hd);
|
||||
}
|
||||
//删除银行卡
|
||||
public void deleteBankCard(int id){
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("id",id);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getBankCardDelete(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1, BANK_CARD_DELETE,re,con,hd);
|
||||
}
|
||||
//账户提现
|
||||
public void takeMoney(String bid,String money){
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("bankCardId",bid);
|
||||
map.put("tradeMoney",money);
|
||||
map.put("tradeTitle","");
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getBankCashApply(), "post",MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,BANK_CASH_APPLY,re,con,hd);
|
||||
}
|
||||
//生成电子账户
|
||||
public void addContracts(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getContractsAdd(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,CONTRACTS_ADD,re,con,hd);
|
||||
}
|
||||
//获取电子账户
|
||||
public void getContracts(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getContractsGet(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,CONTRACTS_GET,re,con,hd);
|
||||
}
|
||||
//获取账户未读消息
|
||||
public void getNotNewsCount(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getMessageFindNotReadCount(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,NOT_NEWS_COUNT,re,con,hd);
|
||||
}
|
||||
//获取账户消息
|
||||
public void getNewsList(int type,int page,int limit){
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("cate",type);
|
||||
map.put("page",page);
|
||||
map.put("limit",limit);
|
||||
map.put("content","");
|
||||
map.put("createTimeEnd","");
|
||||
map.put("createTimeStart","");
|
||||
map.put("createUserName","");
|
||||
map.put("messageTypes","");
|
||||
map.put("receiverId","");
|
||||
map.put("receiverName","");
|
||||
map.put("roleId","");
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getMessageFindPage(), "post",MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,NEW_LIST,re,con,hd);
|
||||
}
|
||||
//已读消息
|
||||
public void readNews(int id){
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("id",id);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getMessageSetReadById(), "post",MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,NEWS_READ,re,con,hd);
|
||||
}
|
||||
//已读全部消息
|
||||
public void delNewsAll(List<Integer> list){
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("id",0);
|
||||
map.put("ids",list);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getMessageSetReadAll(), "post",MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,NEWS_READ_ALL,re,con,hd);
|
||||
}
|
||||
//上传文件
|
||||
public void uploadFile(File file){
|
||||
Request re = OkHttpUtil.postFile(new OkDate(UrlManager.getUPLOAD(), "post", ""),getToken(con),file,con);
|
||||
RequestTest.test(1, UPLOAD,re,con,hd);
|
||||
}
|
||||
//上传头像
|
||||
public void upHeadImg(String imgUrl){
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("headportrait",imgUrl);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getUploadHead(), "post",MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1, UPLOAD_HEAD,re,con,hd);
|
||||
}
|
||||
//版本更新
|
||||
public void upApp(){
|
||||
String vs="1.0.0";
|
||||
try {
|
||||
vs = con.getPackageManager().getPackageInfo(con.getPackageName(), 0).versionName;
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
Map<String,Object> map=new HashMap();
|
||||
map.put("source",1);
|
||||
map.put("version",vs);
|
||||
Request re = OkHttpUtil.post(new OkDate(UrlManager.getVERSION(), "post",MapUtil.mapJson(map)),con);
|
||||
RequestTest.test(1,VERSION,re,con,hd);
|
||||
}
|
||||
//
|
||||
public void config(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getCONFIG(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,CONFIG,re,con,hd);
|
||||
}
|
||||
|
||||
public void getUrl(){
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getGetUrl(), "post",""),getToken(con),con);
|
||||
RequestTest.test(1,URL,re,con,hd);
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/7 11:39
|
||||
* @description:单位请求
|
||||
*/
|
||||
public class UnitRequest {
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/7 11:38
|
||||
* @description:用户请求
|
||||
*/
|
||||
public class UserRequest {
|
||||
private Context con;
|
||||
private Handler hd;
|
||||
private String token;
|
||||
|
||||
public UserRequest(Context con, Handler hd) {
|
||||
this.con = con;
|
||||
this.hd = hd;
|
||||
}
|
||||
|
||||
private Gson gson=new Gson();
|
||||
|
||||
public String getToken(Context con) {
|
||||
return SPUtil.getSP(con,"","");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,126 @@
|
||||
package com.oneclouds.cargo.request;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.request.manager.UrlManager;
|
||||
import com.oneclouds.cargo.util.MapUtil;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.http.OkDate;
|
||||
import com.oneclouds.cargo.util.http.OkHttpUtil;
|
||||
import com.oneclouds.cargo.util.http.RequestTest;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import okhttp3.Request;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/7 11:38
|
||||
* @description:运单请求
|
||||
*/
|
||||
public class WaybillRequest {
|
||||
|
||||
private Context con;
|
||||
private Handler hd;
|
||||
private String token;
|
||||
|
||||
public WaybillRequest(Context con, Handler hd) {
|
||||
this.con = con;
|
||||
this.hd = hd;
|
||||
}
|
||||
|
||||
private Gson gson=new Gson();
|
||||
|
||||
public String getToken(Context con) {
|
||||
return SPUtil.getSP(con, SPConstant.DATA,SPConstant.DATA_TOKEN);
|
||||
}
|
||||
|
||||
//投诉信息保存
|
||||
public static final String WAYBILL_COMPLAINT_V3="/app/shipper/waybill/complaintV3";
|
||||
//确认装货
|
||||
public static final String WAYBILL_CONFIRM_LOADING="/app/shipper/waybill/confirmLoading";
|
||||
//确认卸货
|
||||
public static final String WAYBILL_CONFIRM_UNLOAD="/app/shipper/waybill/confirmUnload";
|
||||
//评价信息保存
|
||||
public static final String WAYBILL_EVALUATION_V3="/app/shipper/waybill/evaluationV3";
|
||||
//运单详情
|
||||
public static final String WAYBILL_GET_EXECUTE_WATBILL="/app/shipper/waybill/getExecuteWaybill";
|
||||
//获取双轨迹
|
||||
public static final String WAYBILL_GET_LOC="/app/shipper/waybill/getLoc";
|
||||
//货源详情
|
||||
public static final String WAYBILL_GET_ORDER_DETAIL="waybill_getOrderDetail";
|
||||
//获取评价信息
|
||||
public static final String WAYBILL_LIST_APPAISES="waybill_listAppraises";
|
||||
//获取投诉信息
|
||||
public static final String WAYBILL_LIST_COMPLAINT="waybill_listComplaint";
|
||||
//货源列表
|
||||
public static final String WAYBILL_LIST_V2="waybill_listV2";
|
||||
//运单列表数量
|
||||
public static final String WAYBILL_LIST_NUM="waybill_listnum";
|
||||
|
||||
//运单列表
|
||||
public void orderList(int page,int limit,int orderStatus){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("page",page);
|
||||
map.put("limit",limit);
|
||||
if(orderStatus!=0){
|
||||
map.put("orderStatus",orderStatus);
|
||||
}
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getWaybillListV2(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,WAYBILL_LIST_V2,re,con,hd);
|
||||
}
|
||||
//运单详情
|
||||
public void orderDetail(int waybillId){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("waybillId",waybillId);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getWaybillGetExecuteWatbill(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,WAYBILL_GET_EXECUTE_WATBILL,re,con,hd);
|
||||
}
|
||||
//货源详情
|
||||
public void orderDetailAll(int id){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("id",id);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getWaybillGetOrderDetail(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,WAYBILL_GET_ORDER_DETAIL,re,con,hd);
|
||||
}
|
||||
//获取评价信息
|
||||
public void orderEvaluate(int waybillId){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("waybillId",waybillId);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getWaybillListAppaises(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,WAYBILL_LIST_APPAISES,re,con,hd);
|
||||
}
|
||||
//保存评价信息
|
||||
public void evaluate(int waybillId,String content,int attitudeScore){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("attitudeScore",attitudeScore);
|
||||
map.put("content",content);
|
||||
map.put("fileIds",new ArrayList<>());
|
||||
map.put("waybillId",waybillId);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getWaybillEvaluationV3(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,WAYBILL_EVALUATION_V3,re,con,hd);
|
||||
}
|
||||
//获取投诉信息
|
||||
public void orderComplaint(int waybillId){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("waybillId",waybillId);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getWaybillListComplaint(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,WAYBILL_LIST_COMPLAINT,re,con,hd);
|
||||
}
|
||||
//保存投诉信息Complaint
|
||||
public void complaint(int waybillId,String content){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("content",content);
|
||||
map.put("fileIds",new ArrayList<>());
|
||||
map.put("waybillId",waybillId);
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getWaybillComplaintV3(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,WAYBILL_COMPLAINT_V3,re,con,hd);
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,209 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/17 14:55
|
||||
* @description:
|
||||
*/
|
||||
public class AddressInputBean{
|
||||
|
||||
private String addressDetail;
|
||||
private String businessCode;
|
||||
private int addressType;
|
||||
private int area;
|
||||
private String areaS;
|
||||
private int city;
|
||||
private String cityS;
|
||||
private String companyCode;
|
||||
private String companyName;
|
||||
private String contactNumber;
|
||||
private String contactPerson;
|
||||
private String createTime;
|
||||
private int id;
|
||||
private String idCard;
|
||||
private int idDefault;
|
||||
private int isDeleted;
|
||||
private int province;
|
||||
private String provinceS;
|
||||
private String tagContent;
|
||||
private String updateTime;
|
||||
private int userId;
|
||||
private int userType;
|
||||
|
||||
public String getAreaS() {
|
||||
return areaS;
|
||||
}
|
||||
|
||||
public void setAreaS(String areaS) {
|
||||
this.areaS = areaS;
|
||||
}
|
||||
|
||||
public String getCityS() {
|
||||
return cityS;
|
||||
}
|
||||
|
||||
public void setCityS(String cityS) {
|
||||
this.cityS = cityS;
|
||||
}
|
||||
|
||||
public String getProvinceS() {
|
||||
return provinceS;
|
||||
}
|
||||
|
||||
public void setProvinceS(String provinceS) {
|
||||
this.provinceS = provinceS;
|
||||
}
|
||||
|
||||
public String getBusinessCode() {
|
||||
return businessCode;
|
||||
}
|
||||
|
||||
public void setBusinessCode(String businessCode) {
|
||||
this.businessCode = businessCode;
|
||||
}
|
||||
|
||||
public String getAddressDetail() {
|
||||
return addressDetail;
|
||||
}
|
||||
|
||||
public void setAddressDetail(String addressDetail) {
|
||||
this.addressDetail = addressDetail;
|
||||
}
|
||||
|
||||
public int getAddressType() {
|
||||
return addressType;
|
||||
}
|
||||
|
||||
public void setAddressType(int addressType) {
|
||||
this.addressType = addressType;
|
||||
}
|
||||
|
||||
public int getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(int area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public int getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(int city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getCompanyCode() {
|
||||
return companyCode;
|
||||
}
|
||||
|
||||
public void setCompanyCode(String companyCode) {
|
||||
this.companyCode = companyCode;
|
||||
}
|
||||
|
||||
public String getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public String getContactNumber() {
|
||||
return contactNumber;
|
||||
}
|
||||
|
||||
public void setContactNumber(String contactNumber) {
|
||||
this.contactNumber = contactNumber;
|
||||
}
|
||||
|
||||
public String getContactPerson() {
|
||||
return contactPerson;
|
||||
}
|
||||
|
||||
public void setContactPerson(String contactPerson) {
|
||||
this.contactPerson = contactPerson;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getIdCard() {
|
||||
return idCard;
|
||||
}
|
||||
|
||||
public void setIdCard(String idCard) {
|
||||
this.idCard = idCard;
|
||||
}
|
||||
|
||||
public int getIdDefault() {
|
||||
return idDefault;
|
||||
}
|
||||
|
||||
public void setIdDefault(int idDefault) {
|
||||
this.idDefault = idDefault;
|
||||
}
|
||||
|
||||
public int getIsDeleted() {
|
||||
return isDeleted;
|
||||
}
|
||||
|
||||
public void setIsDeleted(int isDeleted) {
|
||||
this.isDeleted = isDeleted;
|
||||
}
|
||||
|
||||
public int getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(int province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getTagContent() {
|
||||
return tagContent;
|
||||
}
|
||||
|
||||
public void setTagContent(String tagContent) {
|
||||
this.tagContent = tagContent;
|
||||
}
|
||||
|
||||
public String getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(String updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public int getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(int userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public int getUserType() {
|
||||
return userType;
|
||||
}
|
||||
|
||||
public void setUserType(int userType) {
|
||||
this.userType = userType;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,83 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/18 10:41
|
||||
* @description:
|
||||
*/
|
||||
public class AuthCompanyInputBean {
|
||||
|
||||
private String addressDetail;
|
||||
private int area;
|
||||
private int businessLicense;
|
||||
private int city;
|
||||
private String code;
|
||||
private String companyShorterName;
|
||||
private int province;
|
||||
private String realCompanyName;
|
||||
|
||||
public String getAddressDetail() {
|
||||
return addressDetail;
|
||||
}
|
||||
|
||||
public void setAddressDetail(String addressDetail) {
|
||||
this.addressDetail = addressDetail;
|
||||
}
|
||||
|
||||
public int getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(int area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public int getBusinessLicense() {
|
||||
return businessLicense;
|
||||
}
|
||||
|
||||
public void setBusinessLicense(int businessLicense) {
|
||||
this.businessLicense = businessLicense;
|
||||
}
|
||||
|
||||
public int getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(int city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getCompanyShorterName() {
|
||||
return companyShorterName;
|
||||
}
|
||||
|
||||
public void setCompanyShorterName(String companyShorterName) {
|
||||
this.companyShorterName = companyShorterName;
|
||||
}
|
||||
|
||||
public int getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(int province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getRealCompanyName() {
|
||||
return realCompanyName;
|
||||
}
|
||||
|
||||
public void setRealCompanyName(String realCompanyName) {
|
||||
this.realCompanyName = realCompanyName;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,209 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/18 10:46
|
||||
* @description:
|
||||
*/
|
||||
public class AuthCompanySaveInputBean {
|
||||
|
||||
private String addressDetail;
|
||||
private int area;
|
||||
private int businessLicense;
|
||||
private int city;
|
||||
private String code;
|
||||
private String contactName;
|
||||
private String contactPhone;
|
||||
private String corporationIdcard;
|
||||
private int corporationIdcardPhoto;
|
||||
private int corporationIdcardPhotoBack;
|
||||
private int corporationIdcardPhotoHold;
|
||||
private String corporationIdcardValidity;
|
||||
private String corporationName;
|
||||
private String corporationPhone;
|
||||
private String idcard;
|
||||
private int idcardPhoto;
|
||||
private int idcardPhotoBack;
|
||||
private int idcardPhotoHold;
|
||||
private String idcardValidity;
|
||||
private int province;
|
||||
private String realCompanyName;
|
||||
private int warrant;
|
||||
|
||||
public String getAddressDetail() {
|
||||
return addressDetail;
|
||||
}
|
||||
|
||||
public void setAddressDetail(String addressDetail) {
|
||||
this.addressDetail = addressDetail;
|
||||
}
|
||||
|
||||
public int getArea() {
|
||||
return area;
|
||||
}
|
||||
|
||||
public void setArea(int area) {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public int getBusinessLicense() {
|
||||
return businessLicense;
|
||||
}
|
||||
|
||||
public void setBusinessLicense(int businessLicense) {
|
||||
this.businessLicense = businessLicense;
|
||||
}
|
||||
|
||||
public int getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(int city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getContactName() {
|
||||
return contactName;
|
||||
}
|
||||
|
||||
public void setContactName(String contactName) {
|
||||
this.contactName = contactName;
|
||||
}
|
||||
|
||||
public String getContactPhone() {
|
||||
return contactPhone;
|
||||
}
|
||||
|
||||
public void setContactPhone(String contactPhone) {
|
||||
this.contactPhone = contactPhone;
|
||||
}
|
||||
|
||||
public String getCorporationIdcard() {
|
||||
return corporationIdcard;
|
||||
}
|
||||
|
||||
public void setCorporationIdcard(String corporationIdcard) {
|
||||
this.corporationIdcard = corporationIdcard;
|
||||
}
|
||||
|
||||
public int getCorporationIdcardPhoto() {
|
||||
return corporationIdcardPhoto;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhoto(int corporationIdcardPhoto) {
|
||||
this.corporationIdcardPhoto = corporationIdcardPhoto;
|
||||
}
|
||||
|
||||
public int getCorporationIdcardPhotoBack() {
|
||||
return corporationIdcardPhotoBack;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoBack(int corporationIdcardPhotoBack) {
|
||||
this.corporationIdcardPhotoBack = corporationIdcardPhotoBack;
|
||||
}
|
||||
|
||||
public int getCorporationIdcardPhotoHold() {
|
||||
return corporationIdcardPhotoHold;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoHold(int corporationIdcardPhotoHold) {
|
||||
this.corporationIdcardPhotoHold = corporationIdcardPhotoHold;
|
||||
}
|
||||
|
||||
public String getCorporationIdcardValidity() {
|
||||
return corporationIdcardValidity;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardValidity(String corporationIdcardValidity) {
|
||||
this.corporationIdcardValidity = corporationIdcardValidity;
|
||||
}
|
||||
|
||||
public String getCorporationName() {
|
||||
return corporationName;
|
||||
}
|
||||
|
||||
public void setCorporationName(String corporationName) {
|
||||
this.corporationName = corporationName;
|
||||
}
|
||||
|
||||
public String getCorporationPhone() {
|
||||
return corporationPhone;
|
||||
}
|
||||
|
||||
public void setCorporationPhone(String corporationPhone) {
|
||||
this.corporationPhone = corporationPhone;
|
||||
}
|
||||
|
||||
public String getIdcard() {
|
||||
return idcard;
|
||||
}
|
||||
|
||||
public void setIdcard(String idcard) {
|
||||
this.idcard = idcard;
|
||||
}
|
||||
|
||||
public int getIdcardPhoto() {
|
||||
return idcardPhoto;
|
||||
}
|
||||
|
||||
public void setIdcardPhoto(int idcardPhoto) {
|
||||
this.idcardPhoto = idcardPhoto;
|
||||
}
|
||||
|
||||
public int getIdcardPhotoBack() {
|
||||
return idcardPhotoBack;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoBack(int idcardPhotoBack) {
|
||||
this.idcardPhotoBack = idcardPhotoBack;
|
||||
}
|
||||
|
||||
public int getIdcardPhotoHold() {
|
||||
return idcardPhotoHold;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoHold(int idcardPhotoHold) {
|
||||
this.idcardPhotoHold = idcardPhotoHold;
|
||||
}
|
||||
|
||||
public String getIdcardValidity() {
|
||||
return idcardValidity;
|
||||
}
|
||||
|
||||
public void setIdcardValidity(String idcardValidity) {
|
||||
this.idcardValidity = idcardValidity;
|
||||
}
|
||||
|
||||
public int getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(int province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getRealCompanyName() {
|
||||
return realCompanyName;
|
||||
}
|
||||
|
||||
public void setRealCompanyName(String realCompanyName) {
|
||||
this.realCompanyName = realCompanyName;
|
||||
}
|
||||
|
||||
public int getWarrant() {
|
||||
return warrant;
|
||||
}
|
||||
|
||||
public void setWarrant(int warrant) {
|
||||
this.warrant = warrant;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/18 10:44
|
||||
* @description:
|
||||
*/
|
||||
public class AuthCorporationInputBean {
|
||||
|
||||
|
||||
private String corporationIdcard;
|
||||
private int corporationIdcardPhoto;
|
||||
private int corporationIdcardPhotoBack;
|
||||
private String corporationIdcardValidity;
|
||||
private String corporationName;
|
||||
|
||||
public String getCorporationIdcard() {
|
||||
return corporationIdcard;
|
||||
}
|
||||
|
||||
public void setCorporationIdcard(String corporationIdcard) {
|
||||
this.corporationIdcard = corporationIdcard;
|
||||
}
|
||||
|
||||
public int getCorporationIdcardPhoto() {
|
||||
return corporationIdcardPhoto;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhoto(int corporationIdcardPhoto) {
|
||||
this.corporationIdcardPhoto = corporationIdcardPhoto;
|
||||
}
|
||||
|
||||
public int getCorporationIdcardPhotoBack() {
|
||||
return corporationIdcardPhotoBack;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardPhotoBack(int corporationIdcardPhotoBack) {
|
||||
this.corporationIdcardPhotoBack = corporationIdcardPhotoBack;
|
||||
}
|
||||
|
||||
public String getCorporationIdcardValidity() {
|
||||
return corporationIdcardValidity;
|
||||
}
|
||||
|
||||
public void setCorporationIdcardValidity(String corporationIdcardValidity) {
|
||||
this.corporationIdcardValidity = corporationIdcardValidity;
|
||||
}
|
||||
|
||||
public String getCorporationName() {
|
||||
return corporationName;
|
||||
}
|
||||
|
||||
public void setCorporationName(String corporationName) {
|
||||
this.corporationName = corporationName;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,65 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/18 10:51
|
||||
* @description:
|
||||
*/
|
||||
public class AuthSaveInputBean {
|
||||
|
||||
private String contactName;
|
||||
private String contactPhone;
|
||||
private String idcard;
|
||||
private int idcardPhoto;
|
||||
private int idcardPhotoBack;
|
||||
private String idcardValidity;
|
||||
|
||||
public String getContactName() {
|
||||
return contactName;
|
||||
}
|
||||
|
||||
public void setContactName(String contactName) {
|
||||
this.contactName = contactName;
|
||||
}
|
||||
|
||||
public String getContactPhone() {
|
||||
return contactPhone;
|
||||
}
|
||||
|
||||
public void setContactPhone(String contactPhone) {
|
||||
this.contactPhone = contactPhone;
|
||||
}
|
||||
|
||||
public String getIdcard() {
|
||||
return idcard;
|
||||
}
|
||||
|
||||
public void setIdcard(String idcard) {
|
||||
this.idcard = idcard;
|
||||
}
|
||||
|
||||
public int getIdcardPhoto() {
|
||||
return idcardPhoto;
|
||||
}
|
||||
|
||||
public void setIdcardPhoto(int idcardPhoto) {
|
||||
this.idcardPhoto = idcardPhoto;
|
||||
}
|
||||
|
||||
public int getIdcardPhotoBack() {
|
||||
return idcardPhotoBack;
|
||||
}
|
||||
|
||||
public void setIdcardPhotoBack(int idcardPhotoBack) {
|
||||
this.idcardPhotoBack = idcardPhotoBack;
|
||||
}
|
||||
|
||||
public String getIdcardValidity() {
|
||||
return idcardValidity;
|
||||
}
|
||||
|
||||
public void setIdcardValidity(String idcardValidity) {
|
||||
this.idcardValidity = idcardValidity;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,66 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/14 18:05
|
||||
* @description:
|
||||
*/
|
||||
public class CateInputBean {
|
||||
|
||||
private String cateName;
|
||||
private int id;
|
||||
private int isDisabled;
|
||||
private int pid;
|
||||
private String rate;
|
||||
private String remarks;
|
||||
|
||||
public String getCateName() {
|
||||
return cateName;
|
||||
}
|
||||
|
||||
public void setCateName(String cateName) {
|
||||
this.cateName = cateName;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getIsDisabled() {
|
||||
return isDisabled;
|
||||
}
|
||||
|
||||
public void setIsDisabled(int isDisabled) {
|
||||
this.isDisabled = isDisabled;
|
||||
}
|
||||
|
||||
public int getPid() {
|
||||
return pid;
|
||||
}
|
||||
|
||||
public void setPid(int pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
|
||||
public String getRate() {
|
||||
return rate;
|
||||
}
|
||||
|
||||
public void setRate(String rate) {
|
||||
this.rate = rate;
|
||||
}
|
||||
|
||||
public String getRemarks() {
|
||||
return remarks;
|
||||
}
|
||||
|
||||
public void setRemarks(String remarks) {
|
||||
this.remarks = remarks;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,137 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/18 15:57
|
||||
* @description:
|
||||
*/
|
||||
public class InsBankInputBean {
|
||||
|
||||
private String address;
|
||||
private int auditStatus;
|
||||
private int bankId;
|
||||
private String bankName;
|
||||
private String cardNo;
|
||||
private int cardType;
|
||||
private int cardUserType;
|
||||
private String companyCode;
|
||||
private String companyName;
|
||||
private String createTime;
|
||||
private int id;
|
||||
private int isDeleted;
|
||||
private String openBank;
|
||||
private String phone;
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public int getAuditStatus() {
|
||||
return auditStatus;
|
||||
}
|
||||
|
||||
public void setAuditStatus(int auditStatus) {
|
||||
this.auditStatus = auditStatus;
|
||||
}
|
||||
|
||||
public int getBankId() {
|
||||
return bankId;
|
||||
}
|
||||
|
||||
public void setBankId(int bankId) {
|
||||
this.bankId = bankId;
|
||||
}
|
||||
|
||||
public String getBankName() {
|
||||
return bankName;
|
||||
}
|
||||
|
||||
public void setBankName(String bankName) {
|
||||
this.bankName = bankName;
|
||||
}
|
||||
|
||||
public String getCardNo() {
|
||||
return cardNo;
|
||||
}
|
||||
|
||||
public void setCardNo(String cardNo) {
|
||||
this.cardNo = cardNo;
|
||||
}
|
||||
|
||||
public int getCardType() {
|
||||
return cardType;
|
||||
}
|
||||
|
||||
public void setCardType(int cardType) {
|
||||
this.cardType = cardType;
|
||||
}
|
||||
|
||||
public int getCardUserType() {
|
||||
return cardUserType;
|
||||
}
|
||||
|
||||
public void setCardUserType(int cardUserType) {
|
||||
this.cardUserType = cardUserType;
|
||||
}
|
||||
|
||||
public String getCompanyCode() {
|
||||
return companyCode;
|
||||
}
|
||||
|
||||
public void setCompanyCode(String companyCode) {
|
||||
this.companyCode = companyCode;
|
||||
}
|
||||
|
||||
public String getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getIsDeleted() {
|
||||
return isDeleted;
|
||||
}
|
||||
|
||||
public void setIsDeleted(int isDeleted) {
|
||||
this.isDeleted = isDeleted;
|
||||
}
|
||||
|
||||
public String getOpenBank() {
|
||||
return openBank;
|
||||
}
|
||||
|
||||
public void setOpenBank(String openBank) {
|
||||
this.openBank = openBank;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,65 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/23 10:25
|
||||
* @description:
|
||||
*/
|
||||
public class InvoiceHaederInputBena {
|
||||
|
||||
private String address;
|
||||
private String bankAccount;
|
||||
private String bankName;
|
||||
private String phone;
|
||||
private String taxNo;
|
||||
private String title;
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getBankAccount() {
|
||||
return bankAccount;
|
||||
}
|
||||
|
||||
public void setBankAccount(String bankAccount) {
|
||||
this.bankAccount = bankAccount;
|
||||
}
|
||||
|
||||
public String getBankName() {
|
||||
return bankName;
|
||||
}
|
||||
|
||||
public void setBankName(String bankName) {
|
||||
this.bankName = bankName;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getTaxNo() {
|
||||
return taxNo;
|
||||
}
|
||||
|
||||
public void setTaxNo(String taxNo) {
|
||||
this.taxNo = taxNo;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,58 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/26 10:55
|
||||
* @description:
|
||||
*/
|
||||
public class InvoiceInputBean {
|
||||
|
||||
private int addressId;
|
||||
private int invoiceTitleId;
|
||||
private int nature;
|
||||
private List<?> orderIds;
|
||||
private String remark;
|
||||
|
||||
public int getAddressId() {
|
||||
return addressId;
|
||||
}
|
||||
|
||||
public void setAddressId(int addressId) {
|
||||
this.addressId = addressId;
|
||||
}
|
||||
|
||||
public int getInvoiceTitleId() {
|
||||
return invoiceTitleId;
|
||||
}
|
||||
|
||||
public void setInvoiceTitleId(int invoiceTitleId) {
|
||||
this.invoiceTitleId = invoiceTitleId;
|
||||
}
|
||||
|
||||
public int getNature() {
|
||||
return nature;
|
||||
}
|
||||
|
||||
public void setNature(int nature) {
|
||||
this.nature = nature;
|
||||
}
|
||||
|
||||
public List<?> getOrderId() {
|
||||
return orderIds;
|
||||
}
|
||||
|
||||
public void setOrderId(List<?> orderIds) {
|
||||
this.orderIds = orderIds;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,110 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/2 9:45
|
||||
* @description:登录和注册的入参实体
|
||||
*/
|
||||
public class LoginRegInputBean {
|
||||
|
||||
private String captcha;
|
||||
private String companyName;
|
||||
private int registerType;
|
||||
private String reupass;
|
||||
private String rname;
|
||||
private int roleId;
|
||||
private String smscode;
|
||||
private String password;
|
||||
private String userName;
|
||||
private String uname;
|
||||
private String upass;
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getCaptcha() {
|
||||
return captcha;
|
||||
}
|
||||
|
||||
public void setCaptcha(String captcha) {
|
||||
this.captcha = captcha;
|
||||
}
|
||||
|
||||
public String getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public int getRegisterType() {
|
||||
return registerType;
|
||||
}
|
||||
|
||||
public void setRegisterType(int registerType) {
|
||||
this.registerType = registerType;
|
||||
}
|
||||
|
||||
public String getReupass() {
|
||||
return reupass;
|
||||
}
|
||||
|
||||
public void setReupass(String reupass) {
|
||||
this.reupass = reupass;
|
||||
}
|
||||
|
||||
public String getRname() {
|
||||
return rname;
|
||||
}
|
||||
|
||||
public void setRname(String rname) {
|
||||
this.rname = rname;
|
||||
}
|
||||
|
||||
public int getRoleId() {
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(int roleId) {
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public String getSmscode() {
|
||||
return smscode;
|
||||
}
|
||||
|
||||
public void setSmscode(String smscode) {
|
||||
this.smscode = smscode;
|
||||
}
|
||||
|
||||
public String getUname() {
|
||||
return uname;
|
||||
}
|
||||
|
||||
public void setUname(String uname) {
|
||||
this.uname = uname;
|
||||
}
|
||||
|
||||
public String getUpass() {
|
||||
return upass;
|
||||
}
|
||||
|
||||
public void setUpass(String upass) {
|
||||
this.upass = upass;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,488 @@
|
||||
package com.oneclouds.cargo.request.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/13 17:12
|
||||
* @description:
|
||||
*/
|
||||
public class OrderInputBean {
|
||||
|
||||
|
||||
private FormDataDTO formData;
|
||||
private int isSubmit;
|
||||
private List<PutTableDataDTO> putTableData;
|
||||
private List<SendTableDataDTO> sendTableData;
|
||||
|
||||
public FormDataDTO getFormData() {
|
||||
return formData;
|
||||
}
|
||||
|
||||
public void setFormData(FormDataDTO formData) {
|
||||
this.formData = formData;
|
||||
}
|
||||
|
||||
public int getIsSubmit() {
|
||||
return isSubmit;
|
||||
}
|
||||
|
||||
public void setIsSubmit(int isSubmit) {
|
||||
this.isSubmit = isSubmit;
|
||||
}
|
||||
|
||||
public List<PutTableDataDTO> getPutTableData() {
|
||||
return putTableData;
|
||||
}
|
||||
|
||||
public void setPutTableData(List<PutTableDataDTO> putTableData) {
|
||||
this.putTableData = putTableData;
|
||||
}
|
||||
|
||||
public List<SendTableDataDTO> getSendTableData() {
|
||||
return sendTableData;
|
||||
}
|
||||
|
||||
public void setSendTableData(List<SendTableDataDTO> sendTableData) {
|
||||
this.sendTableData = sendTableData;
|
||||
}
|
||||
|
||||
public static class FormDataDTO {
|
||||
private int alctGoodsType;
|
||||
private int allowSplitting;
|
||||
private int businessType;
|
||||
private String effectiveTime;
|
||||
private int goodsBigCate;
|
||||
private int id;
|
||||
private int isInsure;
|
||||
private int isSubmit;
|
||||
private String namedDrivers;
|
||||
private String requirement;
|
||||
private String shipperCarId;
|
||||
private String shipperDriverId;
|
||||
private int vehicleLength;
|
||||
private int vehicleType;
|
||||
|
||||
public String getShipperCarId() {
|
||||
return shipperCarId;
|
||||
}
|
||||
|
||||
public void setShipperCarId(String shipperCarId) {
|
||||
this.shipperCarId = shipperCarId;
|
||||
}
|
||||
|
||||
public String getShipperDriverId() {
|
||||
return shipperDriverId;
|
||||
}
|
||||
|
||||
public void setShipperDriverId(String shipperDriverId) {
|
||||
this.shipperDriverId = shipperDriverId;
|
||||
}
|
||||
|
||||
public int getAlctGoodsType() {
|
||||
return alctGoodsType;
|
||||
}
|
||||
|
||||
public void setAlctGoodsType(int alctGoodsType) {
|
||||
this.alctGoodsType = alctGoodsType;
|
||||
}
|
||||
|
||||
public int getAllowSplitting() {
|
||||
return allowSplitting;
|
||||
}
|
||||
|
||||
public void setAllowSplitting(int allowSplitting) {
|
||||
this.allowSplitting = allowSplitting;
|
||||
}
|
||||
|
||||
public int getBusinessType() {
|
||||
return businessType;
|
||||
}
|
||||
|
||||
public void setBusinessType(int businessType) {
|
||||
this.businessType = businessType;
|
||||
}
|
||||
|
||||
public String getEffectiveTime() {
|
||||
return effectiveTime;
|
||||
}
|
||||
|
||||
public void setEffectiveTime(String effectiveTime) {
|
||||
this.effectiveTime = effectiveTime;
|
||||
}
|
||||
|
||||
public int getGoodsBigCate() {
|
||||
return goodsBigCate;
|
||||
}
|
||||
|
||||
public void setGoodsBigCate(int goodsBigCate) {
|
||||
this.goodsBigCate = goodsBigCate;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getIsInsure() {
|
||||
return isInsure;
|
||||
}
|
||||
|
||||
public void setIsInsure(int isInsure) {
|
||||
this.isInsure = isInsure;
|
||||
}
|
||||
|
||||
public int getIsSubmit() {
|
||||
return isSubmit;
|
||||
}
|
||||
|
||||
public void setIsSubmit(int isSubmit) {
|
||||
this.isSubmit = isSubmit;
|
||||
}
|
||||
|
||||
public String getNamedDrivers() {
|
||||
return namedDrivers;
|
||||
}
|
||||
|
||||
public void setNamedDrivers(String namedDrivers) {
|
||||
this.namedDrivers = namedDrivers;
|
||||
}
|
||||
|
||||
public String getRequirement() {
|
||||
return requirement;
|
||||
}
|
||||
|
||||
public void setRequirement(String requirement) {
|
||||
this.requirement = requirement;
|
||||
}
|
||||
|
||||
public int getVehicleLength() {
|
||||
return vehicleLength;
|
||||
}
|
||||
|
||||
public void setVehicleLength(int vehicleLength) {
|
||||
this.vehicleLength = vehicleLength;
|
||||
}
|
||||
|
||||
public int getVehicleType() {
|
||||
return vehicleType;
|
||||
}
|
||||
|
||||
public void setVehicleType(int vehicleType) {
|
||||
this.vehicleType = vehicleType;
|
||||
}
|
||||
}
|
||||
|
||||
public static class PutTableDataDTO {
|
||||
private String businessCode;
|
||||
private String businessName;
|
||||
private String detailAddress;
|
||||
private List<GoodsDTO> goods;
|
||||
private List<Integer> loadingAddress;
|
||||
private String loadingDeadline;
|
||||
private String loadingName;
|
||||
private String loadingPhone;
|
||||
private String companyName;
|
||||
private String companyCode;
|
||||
private int sort;
|
||||
|
||||
public String getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public String getCompanyCode() {
|
||||
return companyCode;
|
||||
}
|
||||
|
||||
public void setCompanyCode(String companyCode) {
|
||||
this.companyCode = companyCode;
|
||||
}
|
||||
|
||||
public String getBusinessCode() {
|
||||
return businessCode;
|
||||
}
|
||||
|
||||
public void setBusinessCode(String businessCode) {
|
||||
this.businessCode = businessCode;
|
||||
}
|
||||
|
||||
public String getBusinessName() {
|
||||
return businessName;
|
||||
}
|
||||
|
||||
public void setBusinessName(String businessName) {
|
||||
this.businessName = businessName;
|
||||
}
|
||||
|
||||
public String getDetailAddress() {
|
||||
return detailAddress;
|
||||
}
|
||||
|
||||
public void setDetailAddress(String detailAddress) {
|
||||
this.detailAddress = detailAddress;
|
||||
}
|
||||
|
||||
public List<GoodsDTO> getGoods() {
|
||||
return goods;
|
||||
}
|
||||
|
||||
public void setGoods(List<GoodsDTO> goods) {
|
||||
this.goods = goods;
|
||||
}
|
||||
|
||||
public List<Integer> getLoadingAddress() {
|
||||
return loadingAddress;
|
||||
}
|
||||
|
||||
public void setLoadingAddress(List<Integer> loadingAddress) {
|
||||
this.loadingAddress = loadingAddress;
|
||||
}
|
||||
|
||||
public String getLoadingDeadline() {
|
||||
return loadingDeadline;
|
||||
}
|
||||
|
||||
public void setLoadingDeadline(String loadingDeadline) {
|
||||
this.loadingDeadline = loadingDeadline;
|
||||
}
|
||||
|
||||
public String getLoadingName() {
|
||||
return loadingName;
|
||||
}
|
||||
|
||||
public void setLoadingName(String loadingName) {
|
||||
this.loadingName = loadingName;
|
||||
}
|
||||
|
||||
public String getLoadingPhone() {
|
||||
return loadingPhone;
|
||||
}
|
||||
|
||||
public void setLoadingPhone(String loadingPhone) {
|
||||
this.loadingPhone = loadingPhone;
|
||||
}
|
||||
|
||||
public int getSort() {
|
||||
return sort;
|
||||
}
|
||||
|
||||
public void setSort(int sort) {
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
public static class GoodsDTO {
|
||||
private String name;
|
||||
private String num;
|
||||
private String packName;
|
||||
private int price;
|
||||
private String unit;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getNum() {
|
||||
return num;
|
||||
}
|
||||
|
||||
public void setNum(String num) {
|
||||
this.num = num;
|
||||
}
|
||||
|
||||
public String getPackName() {
|
||||
return packName;
|
||||
}
|
||||
|
||||
public void setPackName(String packName) {
|
||||
this.packName = packName;
|
||||
}
|
||||
|
||||
public int getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(int price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public String getUnit() {
|
||||
return unit;
|
||||
}
|
||||
|
||||
public void setUnit(String unit) {
|
||||
this.unit = unit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static class SendTableDataDTO {
|
||||
private String businessCode;
|
||||
private String businessName;
|
||||
private String detailAddress;
|
||||
private List<GoodsDTO> goods;
|
||||
private List<Integer> loadingAddress;
|
||||
private String loadingDeadline;
|
||||
private String loadingName;
|
||||
private String loadingPhone;
|
||||
private String companyName;
|
||||
private String companyCode;
|
||||
private int sort;
|
||||
private double totalPrice;
|
||||
|
||||
public String getCompanyName() {
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName) {
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public String getCompanyCode() {
|
||||
return companyCode;
|
||||
}
|
||||
|
||||
public void setCompanyCode(String companyCode) {
|
||||
this.companyCode = companyCode;
|
||||
}
|
||||
|
||||
public String getBusinessCode() {
|
||||
return businessCode;
|
||||
}
|
||||
|
||||
public void setBusinessCode(String businessCode) {
|
||||
this.businessCode = businessCode;
|
||||
}
|
||||
|
||||
public String getBusinessName() {
|
||||
return businessName;
|
||||
}
|
||||
|
||||
public void setBusinessName(String businessName) {
|
||||
this.businessName = businessName;
|
||||
}
|
||||
|
||||
public String getDetailAddress() {
|
||||
return detailAddress;
|
||||
}
|
||||
|
||||
public void setDetailAddress(String detailAddress) {
|
||||
this.detailAddress = detailAddress;
|
||||
}
|
||||
|
||||
public List<GoodsDTO> getGoods() {
|
||||
return goods;
|
||||
}
|
||||
|
||||
public void setGoods(List<GoodsDTO> goods) {
|
||||
this.goods = goods;
|
||||
}
|
||||
|
||||
public List<Integer> getLoadingAddress() {
|
||||
return loadingAddress;
|
||||
}
|
||||
|
||||
public void setLoadingAddress(List<Integer> loadingAddress) {
|
||||
this.loadingAddress = loadingAddress;
|
||||
}
|
||||
|
||||
public String getLoadingDeadline() {
|
||||
return loadingDeadline;
|
||||
}
|
||||
|
||||
public void setLoadingDeadline(String loadingDeadline) {
|
||||
this.loadingDeadline = loadingDeadline;
|
||||
}
|
||||
|
||||
public String getLoadingName() {
|
||||
return loadingName;
|
||||
}
|
||||
|
||||
public void setLoadingName(String loadingName) {
|
||||
this.loadingName = loadingName;
|
||||
}
|
||||
|
||||
public String getLoadingPhone() {
|
||||
return loadingPhone;
|
||||
}
|
||||
|
||||
public void setLoadingPhone(String loadingPhone) {
|
||||
this.loadingPhone = loadingPhone;
|
||||
}
|
||||
|
||||
public int getSort() {
|
||||
return sort;
|
||||
}
|
||||
|
||||
public void setSort(int sort) {
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
public double getTotalPrice() {
|
||||
return totalPrice;
|
||||
}
|
||||
|
||||
public void setTotalPrice(double totalPrice) {
|
||||
this.totalPrice = totalPrice;
|
||||
}
|
||||
|
||||
public static class GoodsDTO {
|
||||
private String name;
|
||||
private String num;
|
||||
private String packName;
|
||||
private int price;
|
||||
private String unit;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getNum() {
|
||||
return num;
|
||||
}
|
||||
|
||||
public void setNum(String num) {
|
||||
this.num = num;
|
||||
}
|
||||
|
||||
public String getPackName() {
|
||||
return packName;
|
||||
}
|
||||
|
||||
public void setPackName(String packName) {
|
||||
this.packName = packName;
|
||||
}
|
||||
|
||||
public int getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(int price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public String getUnit() {
|
||||
return unit;
|
||||
}
|
||||
|
||||
public void setUnit(String unit) {
|
||||
this.unit = unit;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,587 @@
|
||||
package com.oneclouds.cargo.request.manager;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/7 11:34
|
||||
* @description:地址管理器
|
||||
*/
|
||||
public class UrlManager {
|
||||
|
||||
//域名地址
|
||||
public static final String BASE_URL ="http://app.dahehuoyun.com/api";
|
||||
//http://request.one-clouds.com/api
|
||||
/*--货物小类管理--*/
|
||||
|
||||
//货物小类添加
|
||||
private static final String CATE_ADD="/app/shipper/cate/add";
|
||||
//货物小类删除
|
||||
private static final String CATE_DELETE="/app/shipper/cate/delete";
|
||||
//货物小类修改
|
||||
private static final String CATE_UPDATE="/app/shipper/cate/update";
|
||||
//货物小类列表
|
||||
private static final String CATE_LIST="/app/shipper/cate/list";
|
||||
//无分页小类列表
|
||||
private static final String CATE_NLIST="/app/shipper/cate/nlist";
|
||||
//无分页大类列表
|
||||
private static final String CATE_NPLIST="/app/shipper/cate/nplist";
|
||||
//安联货物分类
|
||||
private static final String CATE_NPLIST_AL="/app/shipper/cate/nplistAl";
|
||||
|
||||
//搜索车辆
|
||||
private static final String CATE_CAR_LIST="/app/shipperCar/shipperCarList";
|
||||
|
||||
/*--发票管理--*/
|
||||
|
||||
//可申请发票的订单
|
||||
private static final String INVOICE_CAN_APPLY_ORDER="/app/shipper/invoice/canApplyOrder";
|
||||
//已申请开票详情
|
||||
private static final String INVOICE_DETAILS_BY_ID="/app/shipper/invoice/detailsById";
|
||||
//发票申请记录
|
||||
private static final String INVOICE_FIND_PAGE="/app/shipper/invoice/findPage";
|
||||
//申请发票保存
|
||||
private static final String INVOICE_SAVE="/app/shipper/invoice/save";
|
||||
//发票抬头信息删除
|
||||
private static final String INVOICE_DELETE="/app/shipper/invoice/title/delete";
|
||||
//通过id查询发票抬头信息
|
||||
private static final String INVOICE_FIND_BY_ID="/app/shipper/invoice/title/findById";
|
||||
//查询当前用户最新发票抬头信息
|
||||
private static final String INVOICE_FIND_SHIPPER_INVOICE_TITLE="/app/shipper/invoice/title/findShipperInvoiceTitle";
|
||||
//发票抬头信息保存
|
||||
private static final String INVOICE_TITLE_SAVE="/app/shipper/invoice/title/save";
|
||||
|
||||
/*--地址管理--*/
|
||||
|
||||
//地址信息删除
|
||||
private static final String ADDRESS_DELETE="/app/shipper/address/delete";
|
||||
//地址信息查询
|
||||
private static final String ADDRESS_FIND_BY_ID="/app/shipper/address/findById";
|
||||
//地址信息列表
|
||||
private static final String ADDRESS_FIND_PAGE="/app/shipper/address/findPage";
|
||||
//查询登录用户地址信息列表
|
||||
private static final String ADDRESS_FIND_PAGE_MY_SELF="/app/shipper/address/findPageMySelf";
|
||||
//地址信息保存
|
||||
private static final String ADDRESS_SAVE="/app/shipper/address/save";
|
||||
private static final String COMPANY_SAVE="/app/shipper/auth/companyInfo";
|
||||
|
||||
/*--货主认证--*/
|
||||
|
||||
//货主认证信息查看
|
||||
private static final String AUTH_INFO="/app/shipper/auth/authInfo";
|
||||
//货主企业公司信息认证保存
|
||||
private static final String AUTH_ENTER_PRISE_AUTH_COMPANY="/app/shipper/auth/enterpriseAuthCompanyNew";
|
||||
//货主企业法人信息保存
|
||||
private static final String AUTH_ENTER_PRISE_AUTH_CORPORATION="/app/shipper/auth/enterpriseAuthCorporationNew";
|
||||
//货主企业认证保存
|
||||
private static final String AUTH_ENTER_PRISE_AUTH_SAVE="/app/shipper/auth/enterpriseAuthSave";
|
||||
//货主企业委托授权书信息保存
|
||||
private static final String AUTH_ENTER_PRISE_AUTH_WARRANT="/app/shipper/auth/enterpriseAuthWarrant";
|
||||
//货主信息是否已认证
|
||||
private static final String AUTH_IS_AUTH="/app/shipper/auth/isAuth";
|
||||
//货主个人认证保存
|
||||
private static final String AUTH_PERSON_AUTH_SAVE="/app/shipper/auth/personAuthSave";
|
||||
//党员认证保存
|
||||
private static final String AUTH_PARTY_MEMBER="/app/user/partyMember";
|
||||
|
||||
/*--货主运单管理--*/
|
||||
|
||||
//投诉信息保存
|
||||
private static final String WAYBILL_COMPLAINT_V3="/app/shipper/waybill/complaintV3";
|
||||
//确认装货
|
||||
private static final String WAYBILL_CONFIRM_LOADING="/app/shipper/waybill/confirmLoading";
|
||||
//确认卸货
|
||||
private static final String WAYBILL_CONFIRM_UNLOAD="/app/shipper/waybill/confirmUnload";
|
||||
//评价信息保存
|
||||
private static final String WAYBILL_EVALUATION_V3="/app/shipper/waybill/evaluationV3";
|
||||
//运单详情
|
||||
private static final String WAYBILL_GET_EXECUTE_WATBILL="/app/shipper/waybill/getExecuteWaybill";
|
||||
//获取双轨迹
|
||||
private static final String WAYBILL_GET_LOC="/app/shipper/waybill/getLoc";
|
||||
//货源详情
|
||||
private static final String WAYBILL_GET_ORDER_DETAIL="/app/shipper/waybill/getOrderDetail";
|
||||
//获取评价信息
|
||||
private static final String WAYBILL_LIST_APPAISES="/app/shipper/waybill/listAppraises";
|
||||
//获取投诉信息
|
||||
private static final String WAYBILL_LIST_COMPLAINT="/app/shipper/waybill/listComplaint";
|
||||
//货源列表
|
||||
private static final String WAYBILL_LIST_V2="/app/shipper/waybill/listV2";
|
||||
//运单列表数量
|
||||
private static final String WAYBILL_LIST_NUM="/app/shipper/waybill/listnum";
|
||||
|
||||
/*--货物管理--*/
|
||||
|
||||
//货物添加
|
||||
private static final String GOODS_ADD="/app/shipper/goods/add";
|
||||
//货物删除
|
||||
private static final String GOODS_DELETE="/app/shipper/goods/delete";
|
||||
//货物列表
|
||||
private static final String GOODS_LIST="/app/shipper/goods/list";
|
||||
//货物修改
|
||||
private static final String GOODS_UPDATE="/app/shipper/goods/update";
|
||||
|
||||
/*--货物计量单位管理--*/
|
||||
|
||||
//货物计量单位添加
|
||||
private static final String UNIT_ADD="/app/shipper/goods/add";
|
||||
//货物计量单位删除
|
||||
private static final String UNIT_DELETE="/app/shipper/unit/delete";
|
||||
//货物计量单位列表
|
||||
private static final String UNIT_LIST="/app/shipper/unit/list";
|
||||
//无分页货物单位列表
|
||||
private static final String UNIT_NLIST="/app/shipper/unit/nlist";
|
||||
//货物计量单位修改
|
||||
private static final String UNIT_UPDATE="/app/shipper/unit/update";
|
||||
|
||||
/*--货源管理--*/
|
||||
|
||||
//车型车长
|
||||
private static final String ORDER_CAR_TYPE_AND_CAR_LONG="/app/shipper/order/CarTypeAndCarLong";
|
||||
//业务类型
|
||||
private static final String ORDER_BUSINESS_TYPE_LIST="/app/shipper/order/businessTypeList";
|
||||
//业务类型交通厅
|
||||
private static final String ORDER_BUSINESS_TYPE_LIST_JTT="/app/shipper/order/nplist";
|
||||
//业务类型安联
|
||||
private static final String ORDER_BUSINESS_TYPE_LIST_AL="/app/shipper/order/nplistAl";
|
||||
//运单轨迹
|
||||
private static final String ORDER_FIND_LOCUS_LIST="/app/shipper/order/findLocusList";
|
||||
//货源列表
|
||||
private static final String ORDER_FIND_ORDER_LIST="/app/shipper/order/findOrderList";
|
||||
//货源删除
|
||||
private static final String ORDER_DEL="/app/shipper/order/orderDel";
|
||||
//货源撤销
|
||||
private static final String ORDER_REVOKE="/app/shipper/order/orderRevoke";
|
||||
//货源查询状态列表
|
||||
private static final String ORDER_STATELIST="/app/shipper/order/orderStateList";
|
||||
//包装方式
|
||||
private static final String ORDER_PACK_NAME_LIST="/app/shipper/order/packNameList";
|
||||
//货源保存/提交
|
||||
private static final String ORDER_PULIST_ORDER="/app/shipper/order/publishOrder";
|
||||
|
||||
/*--货主评价管理--*/
|
||||
|
||||
//评价信息查询
|
||||
private static final String SA_FIND_BY_ID="/app/shipperAppraises/findById";
|
||||
//查询登录用户评价信息数量
|
||||
private static final String SA_FIND_CURRENT_USER_APPRAISES_COUNT="/app/shipperAppraises/findCurrentUserAppraisesCount";
|
||||
//评价信息列表
|
||||
private static final String SA_FIND_PAGE="/app/shipperAppraises/findPage";
|
||||
|
||||
/*--司机管理--*/
|
||||
|
||||
//发布货源-选择司机
|
||||
private static final String DRIVER_CHOOSE="/app/shipper/driver/chooseDriver";
|
||||
//发布货源-选择司机
|
||||
private static final String DRIVER_CHOOSE_V2="/app/shipper/driver/chooseDriverV2";
|
||||
|
||||
/*--OCR识别--*/
|
||||
|
||||
//银行卡
|
||||
private static final String OCR_BANK="/common/ocr/bank";
|
||||
//营业执照
|
||||
private static final String OCR_BUSINESS_LICENSE="/common/ocr/businessLicense";
|
||||
//身份证正面
|
||||
private static final String OCR_ID_CARD_FRONT="/common/ocr/idCardFront";
|
||||
//身份证识别反面
|
||||
private static final String OCR_ID_CARD_BACK="/common/ocr/idCardBack";
|
||||
|
||||
/*--公共接口--*/
|
||||
|
||||
//获取验证码
|
||||
private static final String SEND_CODE = "/common/sendcode";
|
||||
//忘记密码
|
||||
private static final String FORGETPWD = "/common/forgetPwd";
|
||||
//账户登录
|
||||
private static final String LOGIN="/common/register";
|
||||
private static final String LOGIN2="/common/login";
|
||||
//账户信息
|
||||
private static final String USER_INFO="/app/user/getUserInfo";
|
||||
//银行卡列表
|
||||
private static final String BANK_CARD_LIST="/app/bankCard/findPage";
|
||||
//绑定银行卡
|
||||
private static final String BANK_CARD_ADD="/app/bankCard/save";
|
||||
//删除银行卡
|
||||
private static final String BANK_CARD_DELETE="/app/bankCard/deleteCard";
|
||||
//账户提现
|
||||
private static final String BANK_CASH_APPLY="/app/account/cashApply/bank";
|
||||
//生成电子账户
|
||||
private static final String CONTRACTS_ADD="/app/bank/addContracts";
|
||||
//获取电子账户
|
||||
private static final String CONTRACTS_GET="/app/bank/getContracts";
|
||||
//获取账户未读消息
|
||||
private static final String MESSAGE_FIND_NOT_READ_COUNT="/app/message/findCurrentUserNotReadCount";
|
||||
//获取账户消息
|
||||
private static final String MESSAGE_FIND_PAGE="/app/message/findPage";
|
||||
//已读消息
|
||||
private static final String MESSAGE_SET_READ_BY_ID="/app/message/setReadById";
|
||||
//已读全部消息
|
||||
private static final String MESSAGE_SET_READ_ALL="/app/message/setReadAll";
|
||||
//上传文件
|
||||
private static final String UPLOAD="/common/resource/upload";
|
||||
//上传头像
|
||||
private static final String UPLOAD_HEAD="/app/user/uploadHeadportrait";
|
||||
//版本更新
|
||||
public static String VERSION ="/app/check/version";
|
||||
//配置项信息
|
||||
public static String CONFIG ="/common/config/list";
|
||||
|
||||
//获取大屏的url
|
||||
public static String GET_URL ="/app/shipper/data/url";
|
||||
|
||||
public static String getBaseUrl() {
|
||||
return BASE_URL;
|
||||
}
|
||||
|
||||
public static String getCateAdd() {
|
||||
return BASE_URL+CATE_ADD;
|
||||
}
|
||||
|
||||
public static String getCateDelete() {
|
||||
return BASE_URL+CATE_DELETE;
|
||||
}
|
||||
|
||||
public static String getCateUpdate() {
|
||||
return BASE_URL+CATE_UPDATE;
|
||||
}
|
||||
|
||||
public static String getCateList() {
|
||||
return BASE_URL+CATE_LIST;
|
||||
}
|
||||
|
||||
public static String getCateNlist() {
|
||||
return BASE_URL+CATE_NLIST;
|
||||
}
|
||||
|
||||
public static String getCateNplist() {
|
||||
return BASE_URL+CATE_NPLIST;
|
||||
}
|
||||
|
||||
public static String getCateNplistAl() {
|
||||
return BASE_URL+CATE_NPLIST_AL;
|
||||
}
|
||||
public static String getCarList() {
|
||||
return BASE_URL+CATE_CAR_LIST;
|
||||
}
|
||||
|
||||
|
||||
public static String getInvoiceCanApplyOrder() {
|
||||
return BASE_URL+INVOICE_CAN_APPLY_ORDER;
|
||||
}
|
||||
|
||||
public static String getInvoiceDetailsById() {
|
||||
return BASE_URL+INVOICE_DETAILS_BY_ID;
|
||||
}
|
||||
|
||||
public static String getInvoiceFindPage() {
|
||||
return BASE_URL+INVOICE_FIND_PAGE;
|
||||
}
|
||||
|
||||
public static String getInvoiceSave() {
|
||||
return BASE_URL+INVOICE_SAVE;
|
||||
}
|
||||
|
||||
public static String getInvoiceDelete() {
|
||||
return BASE_URL+INVOICE_DELETE;
|
||||
}
|
||||
|
||||
public static String getInvoiceFindById() {
|
||||
return BASE_URL+INVOICE_FIND_BY_ID;
|
||||
}
|
||||
|
||||
public static String getInvoiceFindShipperInvoiceTitle() {
|
||||
return BASE_URL+INVOICE_FIND_SHIPPER_INVOICE_TITLE;
|
||||
}
|
||||
|
||||
public static String getInvoiceTitleSave() {
|
||||
return BASE_URL+INVOICE_TITLE_SAVE;
|
||||
}
|
||||
|
||||
public static String getAddressDelete() {
|
||||
return BASE_URL+ADDRESS_DELETE;
|
||||
}
|
||||
|
||||
public static String getAddressFindById() {
|
||||
return BASE_URL+ADDRESS_FIND_BY_ID;
|
||||
}
|
||||
|
||||
public static String getAddressFindPage() {
|
||||
return BASE_URL+ADDRESS_FIND_PAGE;
|
||||
}
|
||||
|
||||
public static String getAddressFindPageMySelf() {
|
||||
return BASE_URL+ADDRESS_FIND_PAGE_MY_SELF;
|
||||
}
|
||||
|
||||
public static String getAddressSave() {
|
||||
return BASE_URL+ADDRESS_SAVE;
|
||||
}
|
||||
|
||||
public static String getCompanyInfo() {
|
||||
return BASE_URL+COMPANY_SAVE;
|
||||
}
|
||||
|
||||
public static String getAuthInfo() {
|
||||
return BASE_URL+AUTH_INFO;
|
||||
}
|
||||
|
||||
public static String getAuthEnterPriseAuthCompany() {
|
||||
return BASE_URL+AUTH_ENTER_PRISE_AUTH_COMPANY;
|
||||
}
|
||||
|
||||
public static String getAuthEnterPriseAuthCorporation() {
|
||||
return BASE_URL+AUTH_ENTER_PRISE_AUTH_CORPORATION;
|
||||
}
|
||||
|
||||
public static String getAuthEnterPriseAuthSave() {
|
||||
return BASE_URL+AUTH_ENTER_PRISE_AUTH_SAVE;
|
||||
}
|
||||
|
||||
public static String getAuthEnterPriseAuthWarrant() {
|
||||
return BASE_URL+AUTH_ENTER_PRISE_AUTH_WARRANT;
|
||||
}
|
||||
|
||||
public static String getAuthIsAuth() {
|
||||
return BASE_URL+AUTH_IS_AUTH;
|
||||
}
|
||||
|
||||
public static String getAuthPersonAuthSave() {
|
||||
return BASE_URL+AUTH_PERSON_AUTH_SAVE;
|
||||
}
|
||||
|
||||
public static String getWaybillComplaintV3() {
|
||||
return BASE_URL+WAYBILL_COMPLAINT_V3;
|
||||
}
|
||||
|
||||
public static String getWaybillConfirmLoading() {
|
||||
return BASE_URL+WAYBILL_CONFIRM_LOADING;
|
||||
}
|
||||
|
||||
public static String getWaybillConfirmUnload() {
|
||||
return BASE_URL+WAYBILL_CONFIRM_UNLOAD;
|
||||
}
|
||||
|
||||
public static String getWaybillEvaluationV3() {
|
||||
return BASE_URL+WAYBILL_EVALUATION_V3;
|
||||
}
|
||||
|
||||
public static String getWaybillGetExecuteWatbill() {
|
||||
return BASE_URL+WAYBILL_GET_EXECUTE_WATBILL;
|
||||
}
|
||||
|
||||
public static String getWaybillGetLoc() {
|
||||
return BASE_URL+WAYBILL_GET_LOC;
|
||||
}
|
||||
|
||||
public static String getWaybillGetOrderDetail() {
|
||||
return BASE_URL+WAYBILL_GET_ORDER_DETAIL;
|
||||
}
|
||||
|
||||
public static String getWaybillListAppaises() {
|
||||
return BASE_URL+WAYBILL_LIST_APPAISES;
|
||||
}
|
||||
|
||||
public static String getWaybillListComplaint() {
|
||||
return BASE_URL+WAYBILL_LIST_COMPLAINT;
|
||||
}
|
||||
|
||||
public static String getWaybillListV2() {
|
||||
return BASE_URL+WAYBILL_LIST_V2;
|
||||
}
|
||||
|
||||
public static String getWaybillListNum() {
|
||||
return BASE_URL+WAYBILL_LIST_NUM;
|
||||
}
|
||||
|
||||
public static String getGoodsAdd() {
|
||||
return BASE_URL+GOODS_ADD;
|
||||
}
|
||||
|
||||
public static String getGoodsDelete() {
|
||||
return BASE_URL+GOODS_DELETE;
|
||||
}
|
||||
|
||||
public static String getGoodsList() {
|
||||
return BASE_URL+GOODS_LIST;
|
||||
}
|
||||
|
||||
public static String getGoodsUpdate() {
|
||||
return BASE_URL+GOODS_UPDATE;
|
||||
}
|
||||
|
||||
public static String getUnitAdd() {
|
||||
return BASE_URL+UNIT_ADD;
|
||||
}
|
||||
|
||||
public static String getUnitDelete() {
|
||||
return BASE_URL+UNIT_DELETE;
|
||||
}
|
||||
|
||||
public static String getUnitList() {
|
||||
return BASE_URL+UNIT_LIST;
|
||||
}
|
||||
|
||||
public static String getUnitNlist() {
|
||||
return BASE_URL+UNIT_NLIST;
|
||||
}
|
||||
|
||||
public static String getUnitUpdate() {
|
||||
return BASE_URL+UNIT_UPDATE;
|
||||
}
|
||||
|
||||
public static String getOrderCarTypeAndCarLong() {
|
||||
return BASE_URL+ORDER_CAR_TYPE_AND_CAR_LONG;
|
||||
}
|
||||
|
||||
public static String getOrderBusinessTypeList() {
|
||||
return BASE_URL+ORDER_BUSINESS_TYPE_LIST;
|
||||
}
|
||||
|
||||
public static String getOrderBusinessTypeListJtt() {
|
||||
return BASE_URL+ORDER_BUSINESS_TYPE_LIST_JTT;
|
||||
}
|
||||
|
||||
public static String getOrderBusinessTypeListAl() {
|
||||
return BASE_URL+ORDER_BUSINESS_TYPE_LIST_AL;
|
||||
}
|
||||
|
||||
public static String getOrderFindLocusList() {
|
||||
return BASE_URL+ORDER_FIND_LOCUS_LIST;
|
||||
}
|
||||
|
||||
public static String getOrderFindOrderList() {
|
||||
return BASE_URL+ORDER_FIND_ORDER_LIST;
|
||||
}
|
||||
|
||||
public static String getOrderDel() {
|
||||
return BASE_URL+ORDER_DEL;
|
||||
}
|
||||
|
||||
public static String getOrderRevoke() {
|
||||
return BASE_URL+ORDER_REVOKE;
|
||||
}
|
||||
|
||||
public static String getOrderStatelist() {
|
||||
return BASE_URL+ORDER_STATELIST;
|
||||
}
|
||||
|
||||
public static String getOrderPackNameList() {
|
||||
return BASE_URL+ORDER_PACK_NAME_LIST;
|
||||
}
|
||||
|
||||
public static String getOrderPulistOrder() {
|
||||
return BASE_URL+ORDER_PULIST_ORDER;
|
||||
}
|
||||
|
||||
public static String getSaFindById() {
|
||||
return BASE_URL+SA_FIND_BY_ID;
|
||||
}
|
||||
|
||||
public static String getSaFindCurrentUserAppraisesCount() {
|
||||
return BASE_URL+SA_FIND_CURRENT_USER_APPRAISES_COUNT;
|
||||
}
|
||||
|
||||
public static String getSaFindPage() {
|
||||
return BASE_URL+SA_FIND_PAGE;
|
||||
}
|
||||
|
||||
public static String getDriverChoose() {
|
||||
return BASE_URL+DRIVER_CHOOSE;
|
||||
}
|
||||
|
||||
public static String getDriverChooseV2() {
|
||||
return BASE_URL+DRIVER_CHOOSE_V2;
|
||||
}
|
||||
|
||||
public static String getOcrBank() {
|
||||
return BASE_URL+OCR_BANK;
|
||||
}
|
||||
|
||||
public static String getOcrBusinessLicense() {
|
||||
return BASE_URL+OCR_BUSINESS_LICENSE;
|
||||
}
|
||||
|
||||
public static String getOcrIdCardFront() {
|
||||
return BASE_URL+OCR_ID_CARD_FRONT;
|
||||
}
|
||||
|
||||
public static String getOcrIdCardBack() {
|
||||
return BASE_URL+OCR_ID_CARD_BACK;
|
||||
}
|
||||
|
||||
public static String getSendCode() {
|
||||
return BASE_URL+SEND_CODE;
|
||||
}
|
||||
|
||||
public static String forgetPwd() {
|
||||
return BASE_URL+FORGETPWD;
|
||||
}
|
||||
|
||||
public static String getLOGIN() { return BASE_URL+LOGIN; }
|
||||
public static String getLOGIN2() { return BASE_URL+LOGIN2; }
|
||||
|
||||
public static String getUserInfo() { return BASE_URL+USER_INFO; }
|
||||
|
||||
public static String getBankCardList() {
|
||||
return BASE_URL+BANK_CARD_LIST;
|
||||
}
|
||||
|
||||
public static String getBankCardAdd() {
|
||||
return BASE_URL+BANK_CARD_ADD;
|
||||
}
|
||||
|
||||
public static String getBankCardDelete() {
|
||||
return BASE_URL+BANK_CARD_DELETE;
|
||||
}
|
||||
|
||||
public static String getBankCashApply() {
|
||||
return BASE_URL+BANK_CASH_APPLY;
|
||||
}
|
||||
|
||||
public static String getContractsAdd() {
|
||||
return BASE_URL+CONTRACTS_ADD;
|
||||
}
|
||||
|
||||
public static String getContractsGet() {
|
||||
return BASE_URL+CONTRACTS_GET;
|
||||
}
|
||||
|
||||
public static String getMessageFindNotReadCount() {
|
||||
return BASE_URL+MESSAGE_FIND_NOT_READ_COUNT;
|
||||
}
|
||||
|
||||
public static String getMessageFindPage() {
|
||||
return BASE_URL+MESSAGE_FIND_PAGE;
|
||||
}
|
||||
|
||||
public static String getMessageSetReadById() {
|
||||
return BASE_URL+MESSAGE_SET_READ_BY_ID;
|
||||
}
|
||||
|
||||
public static String getMessageSetReadAll() {
|
||||
return BASE_URL+MESSAGE_SET_READ_ALL;
|
||||
}
|
||||
|
||||
public static String getUPLOAD() {
|
||||
return BASE_URL+UPLOAD;
|
||||
}
|
||||
|
||||
public static String getUploadHead() {
|
||||
return BASE_URL+UPLOAD_HEAD;
|
||||
}
|
||||
|
||||
public static String getVERSION() {
|
||||
return BASE_URL+VERSION;
|
||||
}
|
||||
|
||||
public static String getCONFIG() {
|
||||
return BASE_URL+CONFIG;
|
||||
}
|
||||
|
||||
public static String getAuthPartyMember() {
|
||||
return BASE_URL+AUTH_PARTY_MEMBER;
|
||||
}
|
||||
|
||||
public static String getGetUrl() {
|
||||
return BASE_URL+GET_URL;
|
||||
}
|
||||
|
||||
}
|
||||
117
app/src/main/java/com/oneclouds/cargo/ui/AgreementAlert.java
Normal file
117
app/src/main/java/com/oneclouds/cargo/ui/AgreementAlert.java
Normal file
@ -0,0 +1,117 @@
|
||||
package com.oneclouds.cargo.ui;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Handler;
|
||||
import android.text.SpannableStringBuilder;
|
||||
import android.text.TextPaint;
|
||||
import android.text.method.LinkMovementMethod;
|
||||
import android.text.style.ClickableSpan;
|
||||
import android.view.Gravity;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.lxj.xpopup.core.CenterPopupView;
|
||||
import com.oneclouds.cargo.R;
|
||||
import com.oneclouds.cargo.util.MsgUtil;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/10/13 10:30
|
||||
* @description:
|
||||
*/
|
||||
public class AgreementAlert extends CenterPopupView {
|
||||
|
||||
private String url;
|
||||
private String url2;
|
||||
private Handler hd;
|
||||
private Context con;
|
||||
|
||||
public AgreementAlert(@NonNull @NotNull Context context,String url,String url2,Handler hd) {
|
||||
super(context);
|
||||
this.url=url;
|
||||
this.url2=url2;
|
||||
this.hd=hd;
|
||||
this.con=context;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getImplLayoutId() {
|
||||
return R.layout.alert_ok_cancel;
|
||||
}
|
||||
// 执行初始化操作,比如:findView,设置点击,或者任何你弹窗内的业务逻辑
|
||||
@Override
|
||||
protected void onCreate() {
|
||||
super.onCreate();
|
||||
TextView tv_title=findViewById(R.id.tv_title);
|
||||
TextView tv_content=findViewById(R.id.tv_content);
|
||||
Button tv_cancel=findViewById(R.id.tv_cancel);
|
||||
Button tv_confirm=findViewById(R.id.tv_confirm);
|
||||
tv_content.setGravity(Gravity.LEFT);
|
||||
tv_confirm.setText("同意");
|
||||
tv_cancel.setText("暂不使用");
|
||||
tv_title.setText("用户服务协议和隐私政策");
|
||||
String str = "请你务必审慎阅读、充分理解此内容中的“用户服务协议和隐私政策”各条款、包括但不限于:为了向你提供身份认证、接单、运单查询、消息推送等服务我们需要收集你的设备信息、操作日志等个人信息。" +
|
||||
"\n你可阅读《用户服务协议》和《隐私政策》了解详细信息。如果你同意,请点击“同意”开始接受我们的服务。";
|
||||
SpannableStringBuilder ssb = new SpannableStringBuilder();
|
||||
ssb.append(str);
|
||||
//第一个出现的位置
|
||||
final int start = str.indexOf("《");
|
||||
ssb.setSpan(new ClickableSpan() {
|
||||
@Override
|
||||
public void onClick(View widget) {
|
||||
//用户服务协议点击事件
|
||||
Intent in=new Intent(getContext(), WebActivity.class);
|
||||
in.putExtra("url",url2);
|
||||
in.putExtra("title","用户服务协议");
|
||||
getContext().startActivity(in);
|
||||
}
|
||||
@Override
|
||||
public void updateDrawState(TextPaint ds) {
|
||||
super.updateDrawState(ds);
|
||||
//设置文件颜色
|
||||
ds.setColor(getResources().getColor(R.color.color_theme,null));
|
||||
// 去掉下划线
|
||||
ds.setUnderlineText(false);
|
||||
}
|
||||
}, start, start + 8, 0);
|
||||
final int end = str.lastIndexOf("《");
|
||||
ssb.setSpan(new ClickableSpan() {
|
||||
@Override
|
||||
public void onClick(View widget) {
|
||||
//用户服务协议点击事件
|
||||
Intent in=new Intent(getContext(), WebActivity.class);
|
||||
in.putExtra("url",url);
|
||||
in.putExtra("title","隐私政策");
|
||||
getContext().startActivity(in);
|
||||
}
|
||||
@Override
|
||||
public void updateDrawState(TextPaint ds) {
|
||||
super.updateDrawState(ds);
|
||||
//设置文件颜色
|
||||
ds.setColor(getResources().getColor(R.color.color_theme,null));
|
||||
// 去掉下划线
|
||||
ds.setUnderlineText(false);
|
||||
}
|
||||
}, end, end + 6, 0);
|
||||
tv_content.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
tv_content.setText(ssb, TextView.BufferType.SPANNABLE);
|
||||
tv_cancel.setOnClickListener(v -> {
|
||||
System.exit(1);
|
||||
});
|
||||
tv_confirm.setOnClickListener(v -> {
|
||||
SPUtil.insSP(con,"data","firstKey","1");
|
||||
dismiss();
|
||||
MsgUtil.addHdMsgWat(hd,13);
|
||||
});
|
||||
}
|
||||
}
|
||||
59
app/src/main/java/com/oneclouds/cargo/ui/App.java
Normal file
59
app/src/main/java/com/oneclouds/cargo/ui/App.java
Normal file
@ -0,0 +1,59 @@
|
||||
package com.oneclouds.cargo.ui;
|
||||
|
||||
import android.app.Application;
|
||||
import android.content.Context;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.umeng.commonsdk.UMConfigure;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/23 0:18
|
||||
* @description:
|
||||
*/
|
||||
public class App extends Application {
|
||||
|
||||
|
||||
private Context con;
|
||||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
//设置非debug版本开启友盟
|
||||
con=getBaseContext();
|
||||
String state= SPUtil.getSP(con,"state_data","authorization_state");
|
||||
if("1".equals(state)){
|
||||
if(!isDebugVersion(getApplicationContext())){
|
||||
youmenginit();
|
||||
}
|
||||
}
|
||||
//youmenginit();
|
||||
}
|
||||
|
||||
public void youmenginit(){
|
||||
//设置LOG开关,默认为false
|
||||
UMConfigure.setLogEnabled(true);
|
||||
//友盟预初始化
|
||||
UMConfigure.preInit(getApplicationContext(),"60fbfeabff4d74541c81e01b","Umeng");
|
||||
/**
|
||||
* 打开app首次隐私协议授权,以及sdk初始化,判断逻辑请查看SplashTestActivity
|
||||
*/
|
||||
//判断是否同意隐私协议,uminit为1时为已经同意,直接初始化umsdk
|
||||
// if(SPUtil.getSP(getAppContext(),"umeng","uminit").equals("1")){
|
||||
//友盟正式初始化
|
||||
UMConfigure.init(getApplicationContext(),UMConfigure.DEVICE_TYPE_PHONE,"");
|
||||
// }
|
||||
}
|
||||
|
||||
private static boolean isDebugVersion(Context context) {
|
||||
try {
|
||||
ApplicationInfo info = context.getApplicationInfo();
|
||||
return (info.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
137
app/src/main/java/com/oneclouds/cargo/ui/ForgetPwdActivity.java
Normal file
137
app/src/main/java/com/oneclouds/cargo/ui/ForgetPwdActivity.java
Normal file
@ -0,0 +1,137 @@
|
||||
package com.oneclouds.cargo.ui;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Message;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import android.widget.Button;
|
||||
import android.widget.EditText;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.oneclouds.cargo.R;
|
||||
import com.oneclouds.cargo.request.PublicRequest;
|
||||
import com.oneclouds.cargo.request.bean.LoginRegInputBean;
|
||||
import com.oneclouds.cargo.util.PhoneFormatCheckUtils;
|
||||
import com.oneclouds.cargo.util.ToastUtil;
|
||||
import com.oneclouds.cargo.util.cache.CacheGroup;
|
||||
import com.oneclouds.cargo.util.http.RequsetCodeConstants;
|
||||
import com.oneclouds.cargo.util.titleutil.StateStyleUtil;
|
||||
import com.oneclouds.cargo.util.view.BaseActivity;
|
||||
|
||||
/**
|
||||
* @ClassName ForgetPwdActivity
|
||||
* @Author 用户
|
||||
* @Date 2022/5/17 10:03
|
||||
* @Description TODO
|
||||
*/
|
||||
public class ForgetPwdActivity extends BaseActivity {
|
||||
|
||||
private TextView title, tvCode;
|
||||
private EditText etCode, etPass, etPhone;
|
||||
private Button btnOk;
|
||||
|
||||
|
||||
boolean code_key = true;
|
||||
private int timer_sum = 60;
|
||||
private PublicRequest pr;
|
||||
|
||||
@Override
|
||||
public void msgMethod(Message m) {
|
||||
super.msgMethod(m);
|
||||
switch (m.what) {
|
||||
case 12:
|
||||
tvCode.setText(timer_sum + "s");
|
||||
if (timer_sum <= 0) {
|
||||
tvCode.setText("获取验证码");
|
||||
timer_sum = 60;
|
||||
code_key = true;
|
||||
}
|
||||
break;
|
||||
case RequsetCodeConstants.SUCCESS:
|
||||
if (CacheGroup.cacheList.get(PublicRequest.SEND_CODE) != null) {
|
||||
Log.e("--短信发送res--", "短信发送成功");
|
||||
CacheGroup.cacheList.remove(PublicRequest.SEND_CODE);
|
||||
}
|
||||
if (CacheGroup.cacheList.get(PublicRequest.FORGETPWD) != null) {
|
||||
Log.e("--短信发送res--", "短信发送成功");
|
||||
ToastUtil.show(con,"修改密码成功,请重新登录");
|
||||
finish();
|
||||
CacheGroup.cacheList.remove(PublicRequest.FORGETPWD);
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
StateStyleUtil.stateTextColor(this);
|
||||
setContentView(R.layout.activity_forget_pwd);
|
||||
con = this;
|
||||
act = this;
|
||||
initView(null);
|
||||
findViewById();
|
||||
|
||||
pr = new PublicRequest(con, hd);
|
||||
}
|
||||
|
||||
private void findViewById() {
|
||||
title = findViewById(R.id.title_view);
|
||||
etPhone = findViewById(R.id.etPhone);
|
||||
tvCode = findViewById(R.id.tvCode);
|
||||
etPass = findViewById(R.id.etPass);
|
||||
etCode = findViewById(R.id.etCode);
|
||||
btnOk = findViewById(R.id.btnOk);
|
||||
|
||||
title.setText("忘记密码");
|
||||
|
||||
tvCode.setOnClickListener(v -> {
|
||||
String phone = etPhone.getText().toString();
|
||||
if (TextUtils.isEmpty(phone) || !PhoneFormatCheckUtils.isChinaPhoneLegal(phone)) {
|
||||
ToastUtil.show(con, "请输入正确手机号码");
|
||||
return;
|
||||
}
|
||||
getCd();
|
||||
pr.getPhoneCode(phone);
|
||||
});
|
||||
btnOk.setOnClickListener(v -> {
|
||||
String phone = etPhone.getText().toString();
|
||||
String code = etCode.getText().toString();
|
||||
String pwd = etPass.getText().toString();
|
||||
|
||||
if (TextUtils.isEmpty(phone)||TextUtils.isEmpty(code)||TextUtils.isEmpty(pwd)){
|
||||
ToastUtil.show(con,"请完善信息");
|
||||
return;
|
||||
}
|
||||
|
||||
// LoginRegInputBean lb = new LoginRegInputBean();
|
||||
// lb.setRoleId(2);
|
||||
// lb.setUname(phone);
|
||||
// lb.setSmscode(code);
|
||||
pr.forgetPwd(phone,code,pwd);
|
||||
});
|
||||
}
|
||||
|
||||
public void getCd() {
|
||||
new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
while (timer_sum > 0) {
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
timer_sum--;
|
||||
Message msg = new Message();
|
||||
msg.what = 12;
|
||||
hd.sendMessage(msg);
|
||||
}
|
||||
interrupt();
|
||||
}
|
||||
}.start();
|
||||
}
|
||||
}
|
||||
267
app/src/main/java/com/oneclouds/cargo/ui/LoginActivity.java
Normal file
267
app/src/main/java/com/oneclouds/cargo/ui/LoginActivity.java
Normal file
@ -0,0 +1,267 @@
|
||||
package com.oneclouds.cargo.ui;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.graphics.Color;
|
||||
import android.os.Bundle;
|
||||
import android.os.Message;
|
||||
import android.text.SpannableStringBuilder;
|
||||
import android.text.TextPaint;
|
||||
import android.text.method.LinkMovementMethod;
|
||||
import android.text.style.ClickableSpan;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.EditText;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.cardview.widget.CardView;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.oneclouds.cargo.R;
|
||||
import com.oneclouds.cargo.bean.ConfigBean;
|
||||
import com.oneclouds.cargo.bean.LoginBean;
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.request.PublicRequest;
|
||||
import com.oneclouds.cargo.request.bean.LoginRegInputBean;
|
||||
import com.oneclouds.cargo.ui.parts.ConfigParts;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.cache.CacheGroup;
|
||||
import com.oneclouds.cargo.util.http.RequsetCodeConstants;
|
||||
import com.oneclouds.cargo.util.titleutil.StatusBarUtil;
|
||||
import com.oneclouds.cargo.util.view.BaseActivity;
|
||||
|
||||
import java.util.TimerTask;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/13 10:35
|
||||
* @description:
|
||||
*/
|
||||
public class LoginActivity extends BaseActivity {
|
||||
public static final String CODE_RESULT = "code_result";
|
||||
public static final String LOGIN_RESULT = "login_result";
|
||||
public static final String USER = "user";
|
||||
public static final String USER_TOKEN = "token";
|
||||
public static final String USER_UNAME = "uname";
|
||||
public static final String USER_RNAME = "rname";
|
||||
public static final String USER_ID = "id";
|
||||
|
||||
private Button btn_login;
|
||||
private TextView auto_login;
|
||||
private EditText input_phone, input_code;
|
||||
private TextView getCode, tvForget;
|
||||
private LoginBean loginBean;
|
||||
private TimerTask tt;
|
||||
private int timer_sum = 60;
|
||||
private ImageButton agree_btn;
|
||||
private CardView no_btn;
|
||||
|
||||
private PublicRequest pr;
|
||||
|
||||
@Override
|
||||
public void msgMethod(Message m) {
|
||||
super.msgMethod(m);
|
||||
switch (m.what) {
|
||||
case 12:
|
||||
getCode.setText(timer_sum + "s");
|
||||
if (timer_sum <= 0) {
|
||||
getCode.setText("获取验证码");
|
||||
timer_sum = 60;
|
||||
code_key = true;
|
||||
}
|
||||
break;
|
||||
case RequsetCodeConstants.SUCCESS:
|
||||
if (CacheGroup.cacheList.get(PublicRequest.SEND_CODE) != null) {
|
||||
Log.e("--短信发送res--", "短信发送成功");
|
||||
}
|
||||
if (CacheGroup.cacheList.get(PublicRequest.LOGIN) != null) {
|
||||
//存储登录记录
|
||||
loginBean = new Gson().fromJson(CacheGroup.cacheList.get(PublicRequest.LOGIN), LoginBean.class);
|
||||
Log.e("--登录信息--", new Gson().toJson(loginBean));
|
||||
if (loginBean.getCode() == 200) {
|
||||
SPUtil.insSP(con, SPConstant.DATA, SPConstant.DATA_TOKEN, loginBean.getData().getToken());
|
||||
SPUtil.insSP(con, USER, USER_UNAME, loginBean.getData().getUname());
|
||||
SPUtil.insSP(con, USER, USER_RNAME, loginBean.getData().getRname());
|
||||
SPUtil.insSP(con, USER, USER_ID, loginBean.getData().getId() + "");
|
||||
finish();
|
||||
} else {
|
||||
Toast.makeText(con, loginBean.getMsg(), Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
CacheGroup.cacheList.remove(PublicRequest.LOGIN);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
StatusBarUtil.touming(getWindow());
|
||||
setContentView(R.layout.activity_login);
|
||||
con = this;
|
||||
btn_login = findViewById(R.id.btn_login);
|
||||
auto_login = findViewById(R.id.auto_login);
|
||||
input_phone = findViewById(R.id.input_phone);
|
||||
input_code = findViewById(R.id.input_code);
|
||||
getCode = findViewById(R.id.getCode);
|
||||
tvForget = findViewById(R.id.tvForget);
|
||||
agree_btn = findViewById(R.id.agree_btn);
|
||||
no_btn = findViewById(R.id.no_btn);
|
||||
pr = new PublicRequest(con, hd);
|
||||
initView(null);
|
||||
}
|
||||
|
||||
boolean key = false;
|
||||
boolean code_key = true;
|
||||
private String url1 = "";
|
||||
private String url2 = "";
|
||||
|
||||
@Override
|
||||
public void initView(Object obj) {
|
||||
super.initView(obj);
|
||||
agree_btn.setOnClickListener(v -> {
|
||||
agree_btn.setVisibility(View.GONE);
|
||||
no_btn.setVisibility(View.VISIBLE);
|
||||
key = false;
|
||||
});
|
||||
no_btn.setOnClickListener(v -> {
|
||||
agree_btn.setVisibility(View.VISIBLE);
|
||||
no_btn.setVisibility(View.GONE);
|
||||
key = true;
|
||||
|
||||
});
|
||||
ConfigBean cb = ConfigParts.getConfigParts(con);
|
||||
if (cb != null) {
|
||||
url1 = cb.getData().getUserUrl();
|
||||
url2 = cb.getData().getShipperPrivateUrl();
|
||||
}
|
||||
TextView tv_content = findViewById(R.id.tv_content);
|
||||
String str = "我已阅读并同意相关服务条款和隐私政策《用户服务协议》和《隐私政策》";
|
||||
SpannableStringBuilder ssb = new SpannableStringBuilder();
|
||||
ssb.append(str);
|
||||
//第一个出现的位置
|
||||
final int start = str.indexOf("《");
|
||||
ssb.setSpan(new ClickableSpan() {
|
||||
@Override
|
||||
public void onClick(View widget) {
|
||||
//用户服务协议点击事件
|
||||
Log.e("用户服务协议0", url1);
|
||||
Intent in = new Intent(con, WebActivity.class);
|
||||
in.putExtra("title", "用户服务协议");
|
||||
in.putExtra("url", url1);
|
||||
startActivity(in);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateDrawState(TextPaint ds) {
|
||||
super.updateDrawState(ds);
|
||||
//设置文件颜色
|
||||
ds.setColor(getResources().getColor(R.color.color_theme, null));
|
||||
// 去掉下划线
|
||||
ds.setUnderlineText(false);
|
||||
}
|
||||
}, start, start + 8, 0);
|
||||
final int end = str.lastIndexOf("《");
|
||||
ssb.setSpan(new ClickableSpan() {
|
||||
@Override
|
||||
public void onClick(View widget) {
|
||||
//隐私协议点击事件
|
||||
Intent in = new Intent(con, WebActivity.class);
|
||||
in.putExtra("title", "隐私政策");
|
||||
in.putExtra("url", url2);
|
||||
startActivity(in);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateDrawState(TextPaint ds) {
|
||||
super.updateDrawState(ds);
|
||||
//设置文件颜色
|
||||
ds.setColor(getResources().getColor(R.color.color_theme, null));
|
||||
// 去掉下划线
|
||||
ds.setUnderlineText(false);
|
||||
}
|
||||
|
||||
}, end, end + 6, 0);
|
||||
tv_content.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
tv_content.setText(ssb, TextView.BufferType.SPANNABLE);
|
||||
getCode.setOnClickListener(v -> {
|
||||
String phone = String.valueOf(input_phone.getText());
|
||||
if (phone.equals("") || phone == null) {
|
||||
Log.e("点击事件", "请先输入手机号");
|
||||
Toast.makeText(con, "请先输入手机号", Toast.LENGTH_SHORT).show();
|
||||
} else {
|
||||
if (code_key) {
|
||||
getCd();
|
||||
pr.getPhoneCode(phone);
|
||||
code_key = false;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
tvForget.setOnClickListener(v1 -> {
|
||||
Intent intent = new Intent(this, ForgetPwdActivity.class);
|
||||
startActivity(intent);
|
||||
});
|
||||
btn_login.setOnClickListener(v -> {
|
||||
String phone = String.valueOf(input_phone.getText());
|
||||
String code = String.valueOf(input_code.getText());
|
||||
Log.e("--code--", code);
|
||||
if (judgeFormat(phone, code)) {
|
||||
if (key) {
|
||||
LoginRegInputBean lb = new LoginRegInputBean();
|
||||
lb.setRoleId(2);
|
||||
lb.setUserName(phone);
|
||||
lb.setPassword(code);
|
||||
pr.userLogin2(lb);
|
||||
|
||||
// lb.setRoleId(2);
|
||||
// lb.setUname(phone);
|
||||
// lb.setSmscode(code);
|
||||
// lb.setRegisterType(1);
|
||||
// pr.userLogin(lb);
|
||||
} else {
|
||||
Toast.makeText(con, "请先同意用户协议和隐私政策", Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
}
|
||||
});
|
||||
auto_login.setOnClickListener(v -> {
|
||||
Toast.makeText(con, "暂未开放", Toast.LENGTH_SHORT).show();
|
||||
});
|
||||
}
|
||||
|
||||
public void getCd() {
|
||||
new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
while (timer_sum > 0) {
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
timer_sum--;
|
||||
Message msg = new Message();
|
||||
msg.what = 12;
|
||||
hd.sendMessage(msg);
|
||||
}
|
||||
interrupt();
|
||||
}
|
||||
}.start();
|
||||
}
|
||||
|
||||
//验证用户输入的是否符合格式
|
||||
public boolean judgeFormat(String phone, String code) {
|
||||
if (phone.equals("") || code.equals("")) {
|
||||
Toast.makeText(con, "手机号和验证码不得为空", Toast.LENGTH_SHORT).show();
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
146
app/src/main/java/com/oneclouds/cargo/ui/MainActivity.java
Normal file
146
app/src/main/java/com/oneclouds/cargo/ui/MainActivity.java
Normal file
@ -0,0 +1,146 @@
|
||||
package com.oneclouds.cargo.ui;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.KeyEvent;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
||||
import com.oneclouds.cargo.R;
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.ui.home.HomeFragment;
|
||||
import com.oneclouds.cargo.ui.my.MyFragment;
|
||||
import com.oneclouds.cargo.ui.news.NewsFragment;
|
||||
import com.oneclouds.cargo.ui.wallet.WalletFragment;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.titleutil.StateStyleUtil;
|
||||
import com.oneclouds.cargo.util.view.BaseAppCompatActivity;
|
||||
import com.oneclouds.cargo.util.view.BottomTabUtil;
|
||||
|
||||
public class MainActivity extends BaseAppCompatActivity {
|
||||
|
||||
private LinearLayout[] rs=new LinearLayout[4];
|
||||
private ImageView[] ibs=new ImageView[4];
|
||||
private TextView[] title_view=new TextView[4];
|
||||
private int[] img0={R.mipmap.tab1, R.mipmap.tab2, R.mipmap.xiaoxi0, R.mipmap.tab3};
|
||||
private int[] img1={R.mipmap.tab1_s, R.mipmap.tab2_s, R.mipmap.xiaoxi1, R.mipmap.tab3_s};
|
||||
private Fragment[] fs=new Fragment[4];
|
||||
private BottomTabUtil bt;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
StateStyleUtil.stateTextColor(this);
|
||||
setContentView(R.layout.activity_main);
|
||||
con=this;
|
||||
act=this;
|
||||
fs[0]=new HomeFragment();
|
||||
fs[1]=new WalletFragment();
|
||||
fs[2]=new NewsFragment();
|
||||
fs[3]=new MyFragment();
|
||||
initfindId();
|
||||
initswitch();
|
||||
}
|
||||
|
||||
//注册组件id
|
||||
public void initfindId(){
|
||||
rs[0]=findViewById(R.id.huoyuan_box);
|
||||
rs[1]=findViewById(R.id.wallet_box);
|
||||
rs[2]=findViewById(R.id.news_box);
|
||||
rs[3]=findViewById(R.id.my_box);
|
||||
ibs[0]=findViewById(R.id.huoyuan);
|
||||
ibs[1]=findViewById(R.id.wallet);
|
||||
ibs[2]=findViewById(R.id.news);
|
||||
ibs[3]=findViewById(R.id.my);
|
||||
title_view[0]=findViewById(R.id.title1);
|
||||
title_view[1]=findViewById(R.id.title2);
|
||||
title_view[2]=findViewById(R.id.title3);
|
||||
title_view[3]=findViewById(R.id.title4);
|
||||
}
|
||||
|
||||
public void initswitch(){
|
||||
bt =new BottomTabUtil(this, R.id.body, fs);
|
||||
bt.selectItem(fs[0]);
|
||||
rs[0].setOnClickListener(v -> {
|
||||
switch_image(bt.getIndex(),0);
|
||||
bt.setDefaultFragment(fs[0]);
|
||||
bt.setIndex(0);
|
||||
});
|
||||
rs[1].setOnClickListener(v -> {
|
||||
switch_box(1);
|
||||
});
|
||||
rs[2].setOnClickListener(v -> {
|
||||
switch_box(2);
|
||||
});
|
||||
rs[3].setOnClickListener(v -> {
|
||||
switch_box(3);
|
||||
});
|
||||
}
|
||||
|
||||
public void switch_image(int old,int news){
|
||||
ibs[old].setImageResource(img0[old]);
|
||||
ibs[news].setImageResource(img1[news]);
|
||||
title_view[old].setTextColor(getResources().getColor(R.color.tab_select_no,null));
|
||||
title_view[news].setTextColor(getResources().getColor(R.color.tab_select,null));
|
||||
}
|
||||
|
||||
public void switch_box(int index){
|
||||
if (!isLogin(con)){
|
||||
jumpLogin();
|
||||
}else{
|
||||
switch_image(bt.getIndex(),index);
|
||||
if (!fs[index].isAdded()) {
|
||||
bt.hide(fs[bt.getIndex()]);
|
||||
bt.selectItem(fs[index]);
|
||||
} else {
|
||||
bt.setDefaultFragment(fs[index]);
|
||||
}
|
||||
bt.setIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
public void jumpLogin(){
|
||||
Intent in=new Intent(con,LoginActivity.class);
|
||||
startActivity(in);
|
||||
}
|
||||
|
||||
//判断是否登录
|
||||
public static boolean isLogin(Context con){
|
||||
String token= SPUtil.getSP(con, SPConstant.DATA,SPConstant.DATA_TOKEN);
|
||||
if(token.equals("")){
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private boolean isExit = false;
|
||||
|
||||
@Override
|
||||
public boolean onKeyDown(int keyCode, KeyEvent event) {
|
||||
if (keyCode == KeyEvent.KEYCODE_BACK) {
|
||||
exit();
|
||||
return false;
|
||||
} else {
|
||||
return super.onKeyDown(keyCode, event);
|
||||
}
|
||||
}
|
||||
|
||||
public void exit() {
|
||||
if (!isExit) {
|
||||
isExit = true;
|
||||
Toast.makeText(con, "再按一次退出程序", Toast.LENGTH_SHORT).show();
|
||||
hd.sendEmptyMessageDelayed(0, 2000);
|
||||
} else {
|
||||
Intent intent =new Intent(Intent.ACTION_MAIN);
|
||||
intent.addCategory(Intent.CATEGORY_HOME);
|
||||
startActivity(intent);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.oneclouds.cargo.ui;
|
||||
|
||||
import com.oneclouds.cargo.util.cache.CacheGroup;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/16 15:14
|
||||
* @description:
|
||||
*/
|
||||
public class RequestCallback {
|
||||
|
||||
public void resCallback(String key){
|
||||
if(CacheGroup.cacheList.get(key)!=null){
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
43
app/src/main/java/com/oneclouds/cargo/ui/UiAuxiliary.java
Normal file
43
app/src/main/java/com/oneclouds/cargo/ui/UiAuxiliary.java
Normal file
@ -0,0 +1,43 @@
|
||||
package com.oneclouds.cargo.ui;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import com.oneclouds.cargo.constant.SPConstant;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/18 8:45
|
||||
* @description:ui界面的辅助类
|
||||
*/
|
||||
public class UiAuxiliary {
|
||||
|
||||
public static String getState(int stateCode){
|
||||
String state="";
|
||||
switch (stateCode){
|
||||
case 100001: state="待认证";break;
|
||||
case 100002: state="审核中";break;
|
||||
case 100003: state="审核通过";break;
|
||||
case 100004: state="审核不通过";break;
|
||||
default:state="未认证";break;
|
||||
}
|
||||
return state;
|
||||
}
|
||||
|
||||
public static boolean isLogin(Context con){
|
||||
if (SPUtil.getSP(con,SPConstant.DATA,SPConstant.DATA_TOKEN).equals("")){
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public static void delLogin(Context con){
|
||||
SPUtil.insSP(con,SPConstant.DATA,SPConstant.DATA_TOKEN,"");
|
||||
SPUtil.insSP(con,LoginActivity.USER,LoginActivity.USER_UNAME,"");
|
||||
SPUtil.insSP(con,LoginActivity.USER,LoginActivity.USER_RNAME,"");
|
||||
SPUtil.insSP(con,LoginActivity.USER,LoginActivity.USER_ID,"");
|
||||
SPUtil.insSP(con, SPConstant.DATA,SPConstant.DATA_USER,"");
|
||||
}
|
||||
|
||||
}
|
||||
199
app/src/main/java/com/oneclouds/cargo/ui/WebActivity.java
Normal file
199
app/src/main/java/com/oneclouds/cargo/ui/WebActivity.java
Normal file
@ -0,0 +1,199 @@
|
||||
package com.oneclouds.cargo.ui;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.webkit.JavascriptInterface;
|
||||
import android.webkit.WebResourceRequest;
|
||||
import android.webkit.WebSettings;
|
||||
import android.webkit.WebView;
|
||||
import android.webkit.WebViewClient;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.oneclouds.cargo.R;
|
||||
import com.oneclouds.cargo.bean.UserBean;
|
||||
import com.oneclouds.cargo.ui.parts.UserParts;
|
||||
import com.oneclouds.cargo.util.PaxWebChromeClient;
|
||||
import com.oneclouds.cargo.util.StringUtil;
|
||||
import com.oneclouds.cargo.util.titleutil.StateStyleUtil;
|
||||
import com.oneclouds.cargo.util.view.BaseActivity;
|
||||
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/8/6 16:48
|
||||
* @description:访问webview的activity
|
||||
*/
|
||||
public class WebActivity extends BaseActivity {
|
||||
|
||||
private String url="";
|
||||
private String title="";
|
||||
private WebView wv;
|
||||
private TextView title_tv;
|
||||
private PaxWebChromeClient chromeClient;
|
||||
|
||||
@Override
|
||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
StateStyleUtil.stateTextColor(this);
|
||||
setContentView(R.layout.activity_web);
|
||||
con=this;
|
||||
initHardwareAccelerate();
|
||||
wv=findViewById(R.id.wv);
|
||||
title_tv=findViewById(R.id.title_view);
|
||||
Intent in=getIntent();
|
||||
url=in.getExtras().getString("url");
|
||||
title=in.getExtras().getString("title");
|
||||
chromeClient = new PaxWebChromeClient(this,null,null);
|
||||
//RxDeviceTool.getScreenHeights();
|
||||
if(title.equals("咨询建议")){
|
||||
initOpinion();
|
||||
}else{
|
||||
initView(null);
|
||||
}
|
||||
}
|
||||
|
||||
private void initHardwareAccelerate() {
|
||||
try {
|
||||
if (Integer.parseInt(android.os.Build.VERSION.SDK) >= 11) {
|
||||
getWindow()
|
||||
.setFlags(
|
||||
android.view.WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
|
||||
android.view.WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initView(Object obj) {
|
||||
super.initView(obj);
|
||||
WebSettings webSettings = wv.getSettings();
|
||||
//设置网页有缓存的时候也继续读取新的地址
|
||||
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
|
||||
webSettings.setJavaScriptEnabled(true);
|
||||
webSettings.setDomStorageEnabled(true);
|
||||
webSettings.setDefaultTextEncodingName("utf-8");
|
||||
wv.addJavascriptInterface(new JavaScriptObject(con), "webObj");
|
||||
//WebView加载web资源
|
||||
// wv.loadUrl(url);
|
||||
//覆盖WebView默认使用第三方或系统默认浏览器打开网页的行为,使网页用WebView打开
|
||||
wv.setWebViewClient(new WebViewClient(){
|
||||
@Override
|
||||
public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request) {
|
||||
return super.shouldOverrideUrlLoading(view, request);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldOverrideUrlLoading(WebView view, String url) {
|
||||
//返回值是true的时候控制去WebView打开,为false调用系统浏览器或第三方浏览器
|
||||
Log.d("test","webactivity..url:"+url);
|
||||
if(!url.startsWith("http"))
|
||||
{
|
||||
Log.d("test","非http开头..url:"+url);
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
|
||||
boolean isInstall = getPackageManager().queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY).size()>0;
|
||||
Log.d("test","是否安装要跳转的app:"+isInstall);
|
||||
if(isInstall)
|
||||
{
|
||||
startActivity(intent);
|
||||
finish();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
wv.loadUrl(url);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
wv.setWebChromeClient(chromeClient);
|
||||
wv.loadUrl(url);
|
||||
title_tv.setText(title);
|
||||
}
|
||||
|
||||
public void initOpinion(){
|
||||
if(findViewById(R.id.return_btn)!=null){
|
||||
findViewById(R.id.return_btn).setOnClickListener(v -> {
|
||||
finish();
|
||||
});
|
||||
}
|
||||
title_tv.setText(title);
|
||||
UserBean ub=UserParts.getUser(con);
|
||||
wv.getSettings().setJavaScriptEnabled(true);
|
||||
wv.getSettings().setDomStorageEnabled(true); // 这个要加上
|
||||
String openid = ub.getData().getUname(); // 用户的openid
|
||||
String nickname = StringUtil.isNull(ub.getData().getRname(),"游客"); // 用户的nickname
|
||||
String headimgurl = StringUtil.isNull(ub.getData().getHeadportraitUrl(),""); // 用户的头像url
|
||||
|
||||
/* 获得 webview url,请注意url单词是product而不是products,products是旧版本的参数,用错地址将不能成功提交 */
|
||||
String url = "https://support.qq.com/product/335641"; // 把1221数字换成你的产品ID,否则会不成功
|
||||
/* 准备post参数 */
|
||||
String postData = "nickname=" + nickname + "&avatar="+ headimgurl + "&openid=" + openid;
|
||||
wv.postUrl(url, postData.getBytes());
|
||||
wv.setWebChromeClient(chromeClient);
|
||||
wv.setWebViewClient(new WebViewClient(){
|
||||
@Override
|
||||
public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request) {
|
||||
return super.shouldOverrideUrlLoading(view, request);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldOverrideUrlLoading(WebView view, String url) {
|
||||
//返回值是true的时候控制去WebView打开,为false调用系统浏览器或第三方浏览器
|
||||
view.loadUrl(url);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
||||
|
||||
chromeClient.onActivityResult(requestCode,resultCode,data);
|
||||
|
||||
super.onActivityResult(requestCode, resultCode, data);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
if(wv!=null){
|
||||
wv.destroy();
|
||||
}
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
public class JavaScriptObject {
|
||||
|
||||
Context mContxt;
|
||||
|
||||
public JavaScriptObject(Context mContxt) {
|
||||
this.mContxt = mContxt;
|
||||
|
||||
}
|
||||
|
||||
@JavascriptInterface
|
||||
public void getName(){
|
||||
Log.e("eeee-","name");
|
||||
Toast.makeText(con, "hello", Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
||||
@JavascriptInterface
|
||||
public String getUserToken(){
|
||||
Log.e("-token-",UserParts.getUser(con).getData().getToken());
|
||||
return UserParts.getUser(con).getData().getToken();
|
||||
}
|
||||
|
||||
@JavascriptInterface
|
||||
public void isSuccess(){
|
||||
finish();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
249
app/src/main/java/com/oneclouds/cargo/ui/WelcomeActivity.java
Normal file
249
app/src/main/java/com/oneclouds/cargo/ui/WelcomeActivity.java
Normal file
@ -0,0 +1,249 @@
|
||||
package com.oneclouds.cargo.ui;
|
||||
|
||||
import android.Manifest;
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.os.Bundle;
|
||||
import android.os.CountDownTimer;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.cardview.widget.CardView;
|
||||
import androidx.core.app.ActivityCompat;
|
||||
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.google.gson.Gson;
|
||||
import com.lxj.xpopup.XPopup;
|
||||
import com.oneclouds.cargo.R;
|
||||
import com.oneclouds.cargo.bean.ConfigBean;
|
||||
import com.oneclouds.cargo.request.PublicRequest;
|
||||
import com.oneclouds.cargo.request.manager.UrlManager;
|
||||
import com.oneclouds.cargo.ui.parts.ConfigParts;
|
||||
import com.oneclouds.cargo.util.MsgUtil;
|
||||
import com.oneclouds.cargo.util.SPUtil;
|
||||
import com.oneclouds.cargo.util.titleutil.StatusBarUtil;
|
||||
import com.oneclouds.cargo.util.view.BaseAppCompatActivity;
|
||||
import com.umeng.commonsdk.UMConfigure;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import okhttp3.Call;
|
||||
import okhttp3.Callback;
|
||||
import okhttp3.Headers;
|
||||
import okhttp3.MediaType;
|
||||
import okhttp3.OkHttpClient;
|
||||
import okhttp3.Request;
|
||||
import okhttp3.RequestBody;
|
||||
import okhttp3.Response;
|
||||
|
||||
public class WelcomeActivity extends BaseAppCompatActivity {
|
||||
|
||||
private PublicRequest pr;
|
||||
private int cd=3;
|
||||
private TextView cd_view;
|
||||
private ImageView startImageUrl;
|
||||
private CardView skip;
|
||||
private Gson gson=new Gson();
|
||||
private boolean key=true;
|
||||
|
||||
@Override
|
||||
public void msgMethod(Message m) {
|
||||
super.msgMethod(m);
|
||||
switch (m.what){
|
||||
case 11:
|
||||
cdWelcome((String) m.obj);
|
||||
break;
|
||||
case 13:
|
||||
init();
|
||||
initRequest();
|
||||
// initRermission();
|
||||
break;
|
||||
default:break;
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressLint("RestrictedApi")
|
||||
@Override
|
||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
StatusBarUtil.touming(getWindow());
|
||||
setContentView(R.layout.activity_weclome);
|
||||
cd_view=findViewById(R.id.cd);
|
||||
startImageUrl=findViewById(R.id.startImageUrl);
|
||||
skip=findViewById(R.id.skip);
|
||||
con=this;
|
||||
act=this;
|
||||
pr=new PublicRequest(con,hd);
|
||||
//RxTool
|
||||
//RxAppTool.getAppSignatureSHA1();
|
||||
//TCrashTool.setConfig(TCrashProfile);
|
||||
cd_view.setOnClickListener(v -> {
|
||||
if(key){
|
||||
key=false;
|
||||
Intent in = new Intent(con, MainActivity.class);
|
||||
startActivity(in);
|
||||
finish();
|
||||
}
|
||||
});
|
||||
String str= SPUtil.getSP(con,"data","firstKey");
|
||||
if("1".equals(str)){
|
||||
initRequest();
|
||||
// initRermission();
|
||||
}else{
|
||||
new XPopup.Builder(con)
|
||||
.dismissOnBackPressed(false)
|
||||
.dismissOnTouchOutside(false)
|
||||
.asCustom(new AgreementAlert(con,"https://agreement.dahehuoyun.com/vivo/#/shipper/private",
|
||||
"http://agreement.dahehuoyun.com/#/user",hd))
|
||||
.show();
|
||||
}
|
||||
// {"code":200,"data":{"contractUrl":"http://agreement.dahehuoyun.com/#/transport",
|
||||
// "privateUrl":"http://agreement.dahehuoyun.com/#/private",
|
||||
// "securityUrl":"http://agreement.dahehuoyun.com/#/security",
|
||||
// "serviceMobile":"18638298513","shipperPrivateUrl":
|
||||
// "http://agreement.dahehuoyun.com/#/shipper/private",
|
||||
// "startImageUrl":"","userUrl":"http://agreement.dahehuoyun.com/#/user"},
|
||||
// "msg":"","res":0,"success":true}
|
||||
}
|
||||
|
||||
public void initRermission(){
|
||||
String[] permissions= new String[]{
|
||||
Manifest.permission.READ_EXTERNAL_STORAGE,
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE,
|
||||
};
|
||||
ActivityCompat.requestPermissions(this, permissions, 101);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestPermissionsResult(int requestCode, @NonNull @NotNull String[] permissions, @NonNull @NotNull int[] grantResults) {
|
||||
switch (requestCode) {
|
||||
case 101:{
|
||||
initRequest();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void initRequest(){
|
||||
MediaType mediaType = MediaType.parse("application/json");
|
||||
RequestBody body = RequestBody.create(mediaType,"{}");
|
||||
Headers.Builder hb=new Headers.Builder();
|
||||
hb.add("Content-Type","application/json");
|
||||
hb.add("Cache-Control","no-cache");
|
||||
Request request = new Request.Builder()
|
||||
.url(UrlManager.getCONFIG())
|
||||
.post(body)
|
||||
.headers(hb.build())
|
||||
.build();
|
||||
OkHttpClient client = new OkHttpClient().newBuilder()
|
||||
.build();
|
||||
client.newCall(request).enqueue(new Callback() {
|
||||
@Override
|
||||
public void onFailure(Call call, IOException e) {
|
||||
Log.e("error","配置项信息加载失败"+e.toString());
|
||||
MsgUtil.addHdMsgWatBody(hd,11,"");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResponse(Call call, Response response) throws IOException {
|
||||
if(response.code()==200){
|
||||
String body=response.body().string();
|
||||
// if (body.startsWith("04")) {
|
||||
// body= SecurityUtil.decrypt(body);
|
||||
// }
|
||||
Log.e("-body-",body);
|
||||
ConfigBean cb=gson.fromJson(body,ConfigBean.class);
|
||||
if(cb.getCode()==200){
|
||||
ConfigParts.setParts(con,cb);
|
||||
MsgUtil.addHdMsgWatBody(hd,11,cb.getData().getStartImageUrl());
|
||||
}else{
|
||||
ConfigParts.setParts(con,null);
|
||||
}
|
||||
}else{
|
||||
MsgUtil.addHdMsgWatBody(hd,11,"");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void cdWelcome(String url){
|
||||
if(!url.equals("")){
|
||||
Glide.with(con).load(url).into(startImageUrl);
|
||||
}else{
|
||||
Log.e("图片加载失败","获取动态启动页图片为空");
|
||||
//Toast.makeText(con,"配置项信息加载失败",Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
cd_view.setVisibility(View.VISIBLE);
|
||||
new CountDownTimer(3000,1000){
|
||||
@Override
|
||||
public void onTick(long millisUntilFinished) {
|
||||
cd_view.setText("跳过 "+millisUntilFinished / 1000);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFinish() {
|
||||
cd_view.setText("正在进入");
|
||||
}
|
||||
}.start();
|
||||
|
||||
new Handler().postDelayed(() -> {
|
||||
if(key){
|
||||
key=false;
|
||||
Intent in = new Intent(con, MainActivity.class);
|
||||
startActivity(in);
|
||||
finish();
|
||||
}
|
||||
},cd*1000);
|
||||
}
|
||||
|
||||
public void init(){
|
||||
String state=SPUtil.getSP(con,"state_data","authorization_state");
|
||||
if(!"1".equals(state)){
|
||||
try{
|
||||
if(!isDebugVersion(con)){
|
||||
youmenginit();
|
||||
}
|
||||
}catch (Exception e){
|
||||
Log.e("-error-","初始化失败sss");
|
||||
}
|
||||
}
|
||||
SPUtil.insSP(con,"state_data","authorization_state","1");
|
||||
}
|
||||
|
||||
public void youmenginit(){
|
||||
//设置LOG开关,默认为false
|
||||
UMConfigure.setLogEnabled(true);
|
||||
//友盟预初始化
|
||||
UMConfigure.preInit(getApplicationContext(),"60fbfeabff4d74541c81e01b","Umeng");
|
||||
/**
|
||||
* 打开app首次隐私协议授权,以及sdk初始化,判断逻辑请查看SplashTestActivity
|
||||
*/
|
||||
//判断是否同意隐私协议,uminit为1时为已经同意,直接初始化umsdk
|
||||
// if(SPUtil.getSP(getAppContext(),"umeng","uminit").equals("1")){
|
||||
//友盟正式初始化
|
||||
UMConfigure.init(getApplicationContext(),UMConfigure.DEVICE_TYPE_PHONE,"");
|
||||
//}
|
||||
}
|
||||
|
||||
private static boolean isDebugVersion(Context context) {
|
||||
try {
|
||||
ApplicationInfo info = context.getApplicationInfo();
|
||||
return (info.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
114
app/src/main/java/com/oneclouds/cargo/ui/alert/UpAppAlert.java
Normal file
114
app/src/main/java/com/oneclouds/cargo/ui/alert/UpAppAlert.java
Normal file
@ -0,0 +1,114 @@
|
||||
package com.oneclouds.cargo.ui.alert;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
import android.widget.Button;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.ProgressBar;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.king.app.updater.AppUpdater;
|
||||
import com.king.app.updater.callback.AppUpdateCallback;
|
||||
import com.lxj.xpopup.core.CenterPopupView;
|
||||
import com.oneclouds.cargo.R;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @author hlh
|
||||
* @version 1.0.0
|
||||
* @date 2021/9/6 17:23
|
||||
* @description:
|
||||
*/
|
||||
public class UpAppAlert extends CenterPopupView {
|
||||
|
||||
private TextView content,vs;
|
||||
private Button tv_cancel,tv_confirm;
|
||||
private LinearLayout up_div;
|
||||
private String url="";
|
||||
private String body="";
|
||||
private Context con;
|
||||
private ProgressBar progress_view;
|
||||
private String version;
|
||||
private String force;
|
||||
private LinearLayout force_box;
|
||||
private ImageButton force_btn;
|
||||
|
||||
public UpAppAlert(@NonNull @NotNull Context context, String url, String body,String version,String force) {
|
||||
super(context);
|
||||
con=context;
|
||||
this.url=url;
|
||||
this.body=body;
|
||||
this.version=version;
|
||||
this.force=force;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getImplLayoutId() {
|
||||
return R.layout.alert_up_app;
|
||||
}
|
||||
public UpAppAlert(@NonNull @NotNull Context context) {
|
||||
super(context);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCreate() {
|
||||
super.onCreate();
|
||||
content=findViewById(R.id.tv_content);
|
||||
tv_cancel=findViewById(R.id.tv_cancel);
|
||||
tv_confirm=findViewById(R.id.tv_confirm);
|
||||
up_div=findViewById(R.id.up_div);
|
||||
progress_view=findViewById(R.id.progress);
|
||||
content=findViewById(R.id.tv_content);
|
||||
force_box=findViewById(R.id.force_box);
|
||||
force_btn=findViewById(R.id.force_btn);
|
||||
if(force.equals("1")){
|
||||
force_box.setVisibility(GONE);
|
||||
}
|
||||
force_btn.setOnClickListener(v -> {
|
||||
setVisibility(GONE);
|
||||
destroy();
|
||||
});
|
||||
vs=findViewById(R.id.vs);
|
||||
content.setText(body);
|
||||
vs.setText(version);
|
||||
tv_cancel.setOnClickListener(v -> {
|
||||
System.exit(1);
|
||||
});
|
||||
tv_confirm.setOnClickListener(v -> {
|
||||
new AppUpdater.Builder()
|
||||
.setUrl(url)
|
||||
.build(con)
|
||||
.setUpdateCallback(new AppUpdateCallback() {
|
||||
@Override
|
||||
public void onStart(String url) {
|
||||
super.onStart(url);
|
||||
tv_confirm.setVisibility(GONE);
|
||||
up_div.setVisibility(VISIBLE);
|
||||
}
|
||||
@Override
|
||||
public void onProgress(long progress, long total, boolean isChange) {
|
||||
float sum=progress;
|
||||
float max=total;
|
||||
if(progress>0){
|
||||
float b=sum/max;
|
||||
Log.e("百分比",(100*b)+"");
|
||||
progress_view.setProgress((int) (100*b));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFinish(File file) {
|
||||
|
||||
}
|
||||
})
|
||||
.start();
|
||||
});
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user