|
|
@@ -3,14 +3,14 @@ package com.grkj.iscs_mc.util
|
|
|
import com.grkj.iscs_mc.MyApplication
|
|
|
import com.grkj.iscs_mc.model.Token
|
|
|
import com.grkj.iscs_mc.model.UrlConsts
|
|
|
-import com.grkj.iscs_mc.model.vo.MaterialListRespVO
|
|
|
+import com.grkj.iscs_mc.model.vo.material.MaterialListRespVO
|
|
|
import com.grkj.iscs_mc.model.vo.card.CardInfoRespVO
|
|
|
import com.grkj.iscs_mc.model.vo.dept.DeptListRespVO
|
|
|
import com.grkj.iscs_mc.model.vo.key.KeyInfoRespVO
|
|
|
import com.grkj.iscs_mc.model.vo.lock.LockInfoRespVO
|
|
|
-import com.grkj.iscs_mc.model.vo.lock.LockTakeUpdateReqVO
|
|
|
import com.grkj.iscs_mc.model.vo.machinery.MachineryDetailRespVO
|
|
|
import com.grkj.iscs_mc.model.vo.machinery.MachineryPageRespVO
|
|
|
+import com.grkj.iscs_mc.model.vo.material.MaterialDetailListRespVO
|
|
|
import com.grkj.iscs_mc.model.vo.sop.SopInfoRespVO
|
|
|
import com.grkj.iscs_mc.model.vo.sop.SopPageRespVO
|
|
|
import com.grkj.iscs_mc.model.vo.ticket.LockPointUpdateReqVO
|
|
|
@@ -707,4 +707,22 @@ object NetApi {
|
|
|
}, isGet = true, isAuth = true
|
|
|
)
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 通过RFID列表获取批量物资信息
|
|
|
+ */
|
|
|
+ fun getMaterialDetailListByRfid(list: MutableList<String>, callBack: (MutableList<MaterialDetailListRespVO>?) -> Unit) {
|
|
|
+ NetHttpManager.getInstance().doRequestNet(
|
|
|
+ UrlConsts.MATERIAL_DETAIL_LIST_BY_RFID,
|
|
|
+ false,
|
|
|
+ mapOf(
|
|
|
+ "list" to list
|
|
|
+ ),
|
|
|
+ { res, _, _ ->
|
|
|
+ res?.let {
|
|
|
+ callBack.invoke(getRefBean(it))
|
|
|
+ }
|
|
|
+ }, isGet = false, isAuth = true
|
|
|
+ )
|
|
|
+ }
|
|
|
}
|