mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善煤源选择下拉框
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user