这是带过来的参数 数组
@Param("small_info")String[] smallInfos,
@Param("small_info_en")String[] smallInfo_ens,
@Param("small_info_hw")String[] smallInfo_hws,
这是执行过程
NutMap tIeoImageinfos = new NutMap();
Map<String, T_ieo_imageinfo> imageinfoMap = Lang.array2map(HashMap.class, smallInfos, "project_id");
Map<String, T_ieo_imageinfo> imageinfoMap_en = Lang.array2map(HashMap.class, smallInfo_ens, "project_id");
Map<String, T_ieo_imageinfo> imageinfoMap_hw = Lang.array2map(HashMap.class, smallInfo_hws, "project_id");
这是实体project_id类型
@Column
@Comment("项目主键")
@ColDefine(type = ColType.VARCHAR, width = 32)
private String project_id;
这是异常
[WARN ] 14:19:01.640 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) - Error@/platform/ieo/project/editDo1 :
org.nutz.lang.FailToGetValueException: Fail to get value for [java.lang.String]->[project_id]
at org.nutz.lang.Mirror.makeGetValueException(Mirror.java:790)
at org.nutz.lang.Mirror.getValue(Mirror.java:852)
at org.nutz.lang.Lang.array2map(Lang.java:1024)
at cn.wizzer.app.web.modules.controllers.platform.ieo.TIeoProjectController.editDo(TIeoProjectController.java:301)