完善煤源选择下拉框

This commit is contained in:
2023-12-17 10:56:19 +08:00
parent bce41ce889
commit 27ebd1feef

View File

@@ -5,7 +5,7 @@ import cn.lihongjie.coal.coalInfo.controller.CoalInfoController
import cn.lihongjie.coal.coalInfo.entity.CoalInfoEntity
import org.springframework.context.ApplicationContext
ApplicationContext ioc = ioc;
ApplicationContext ioc = ioc
def controller = ioc.getBean(CoalInfoController.class)
@@ -16,7 +16,7 @@ return controller.list(new CommonQuery()).content.collect {
def entity = new CoalInfoEntity()
entity.id = it.id
entity.code = it.code
entity.name = it.supplierName + "-" + it.name
return entity;
entity.name = "$it.supplierName-$it.name($it.coalTypeName}"
return entity
}