| | |
| | | CommonHelper.CommonReplaceStr(param, ref str); |
| | | |
| | | string attrString = ""; |
| | | List<ColumnModel> newColumnNameList = ListHelper.RemoveAttrForExport(param.ColumnNameList); |
| | | for (int i = 0; i < newColumnNameList.Count; ++i) |
| | | { |
| | | attrString += StructStrHelper.GenerateAttributeForUpdateModel(newColumnNameList[i], param); |
| | | } |
| | | str = str.Replace("$UpdateAttributes$", attrString); |
| | | List<ColumnModel> newColumnNameList = ListHelper.RemoveAttrForUpdateMode(param.ColumnNameList); |
| | | |
| | | //ä¼åï¼è¿ä¸ªå°æ¹ä¸ç¨äº |
| | | //for (int i = 0; i < newColumnNameList.Count; ++i) |
| | | //{ |
| | | // attrString += StructStrHelper.GenerateAttributeForUpdateModel(newColumnNameList[i], param); |
| | | //} |
| | | //str = str.Replace("$UpdateAttributes$", attrString); |
| | | |
| | | attrString = ""; |
| | | for (int i = 0; i < newColumnNameList.Count; ++i) |
| | |
| | | } |
| | | str = str.Replace("$UpdateAttributesForCheckCreateOrUpdateDtoAsync$", attrString); |
| | | |
| | | |
| | | //ä¼åï¼è¿ä»£ç ä¸ç¨äº |
| | | //attrString = ""; |
| | | //for (int i = 0; i < newColumnNameList.Count; ++i) |
| | | //{ |
| | | // attrString += StructStrHelper.GenerateAttribute_AppService_ImportAsync(newColumnNameList[i], param); |
| | | //} |
| | | //str = str.Replace("$AppService_ImportAsync$", attrString); |
| | | |
| | | return str; |
| | | } |
| | | } |