opt:优化

This commit is contained in:
DESKTOP-5DIJMF9\admin
2025-04-13 13:28:10 +08:00
parent b8b310bc93
commit 598d0730e8

View File

@@ -789,7 +789,7 @@ public class PdmBiSubpackagerelationServiceImpl extends ServiceImpl<PdmBiSubpack
String packageBoxSn = containerName.getPackage_box_sn();
WQLObject attrTab = WQLObject.getWQLObject("st_ivt_structattr");
JSONObject attr = attrTab.query("storagevehicle_code = '" + packageBoxSn + "'").uniqueResult(0);
if (StringUtils.isNotEmpty(attr)){
if (ObjectUtils.isNotEmpty(attr)){
attr.put("lock_type","1");
attrTab.update(attr);
}