pad接口-退货-退货详情接口增加物料一二级分类名称

This commit is contained in:
1378012178@qq.com 2025-12-15 10:42:33 +08:00
parent 84155facc3
commit e4a6eded81
2 changed files with 7 additions and 1 deletions

View File

@ -41,9 +41,13 @@
material.iz_ybbx AS "materialInfo.izYbbx",
material.iz_jgyh AS "materialInfo.izJgyh",
if(gwc.wl_id is null, '0', '1') as isAdd,
gwc.th_num AS thNum
gwc.th_num AS thNum,
maca.category_name as "materialInfo.categoryName",
maty.type_name as "materialInfo.typeName"
from nu_invoicing_nu_kcsl nukcsl
LEFT JOIN nu_config_material_info material ON nukcsl.wl_id = material.id
LEFT JOIN nu_config_material_category maca ON material.category_id = maca.id
LEFT JOIN nu_config_material_type maty ON material.type_id = maty.id
LEFT JOIN nu_invoicing_thd_gwc gwc ON nukcsl.wl_id = gwc.wl_id and pk_id = #{id}
<where>
nukcsl.wl_num is not null

View File

@ -34,6 +34,7 @@ import com.nu.modules.qld.service.INuInvoicingQldWlzdService;
import com.nu.modules.warehouseMaterialInfo.entity.BlWarehouseMaterialInfo;
import com.nu.modules.warehouseMaterialInfo.mapper.BlWarehouseMaterialInfoMapper;
import com.nu.modules.warehouseMaterialInfo.service.IBlWarehouseMaterialInfoService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.compress.utils.Lists;
import org.apache.commons.lang.StringUtils;
import org.apache.shiro.SecurityUtils;
@ -59,6 +60,7 @@ import java.util.stream.Collectors;
* @Version: V1.0
*/
@Service
@Slf4j
public class QingLingServiceImpl implements IQinglingApi {
@Autowired