update 按SFC查询材质

master
yinq 2 years ago
parent 624c581f54
commit 1cb2164963

@ -480,6 +480,7 @@ public class ProdReadyTaskServiceImpl extends ServiceImpl<ProdReadyTaskMapper, P
String drawingRevision = customFieldsService.getCustomFieldsValue(sfcServiceById.getItemBo(), CustomFieldConstant.ITEM_DWG_NO);
Map map=new HashMap();
map.put("itemBo",HandleEnum.ITEM.getHandle(site, selectCurrent.getItem(),"A"));
map.put("sfcHANDLE",prodReadyTask.getSfc());
Map Texturemap = itemService.findTextureByItemBo(map);
if (Texturemap!=null){
labelPrintDto.setTexture(Texturemap.get("TEXTURE").toString());

@ -1039,6 +1039,9 @@
<if test="item != null and item != ''">
AND IM.ITEM = #{item}
</if>
<if test="sfcHANDLE != null and sfcHANDLE != ''">
AND SC.HANDLE = #{sfcHANDLE}
</if>
GROUP BY CP.SITE, IM.ITEM
</select>

Loading…
Cancel
Save