提交 fba150d2 编写于 作者: zhouweidong's avatar zhouweidong

虚拟联合主键

上级 b33cb212
......@@ -356,7 +356,7 @@ public class ${item.getCodeName()}ServiceImpl extends ServiceImpl<${de.getCodeNa
${srfcaseformat(majorIndexDECodeName,'l_u2lC')}Service.update(${de.codeName?lower_case}InheritMapping.to${majorIndexDECodeNameCamel}(et));
</#if>
<#if de.getKeyPSDEField()??>
<#if de.getKeyPSDEField().isPhisicalDEField==false && de.getUnionKeyValuePSDEFields()??>
<#if de.getKeyPSDEField().isPhisicalDEField()==false && de.getUnionKeyValuePSDEFields()??>
<#comment>虚拟联合主键</#comment>
if(!updateById(et))
return false;
......@@ -900,7 +900,7 @@ public class ${item.getCodeName()}ServiceImpl extends ServiceImpl<${de.getCodeNa
<@deImportData/>
<#comment>虚拟联合主键</#comment>
<#if de.getKeyPSDEField().isPhisicalDEField==false && de.getUnionKeyValuePSDEFields()??>
<#if de.getKeyPSDEField().isPhisicalDEField()==false && de.getUnionKeyValuePSDEFields()??>
private ${item.getCodeName()} getById(${srfr7javatype(keyfield.getStdDataType())} id){
${item.getCodeName()} entity=new ${item.getCodeName()}();
entity.set${srfcaseformat(keyfield.codeName,'l_u2lC')?cap_first}(id);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册