优化代码
This commit is contained in:
parent
7b06d3a844
commit
fa86af4fbf
@ -88,6 +88,10 @@ namespace ZR.CodeGenerator
|
|||||||
{
|
{
|
||||||
return InputDtoContent;
|
return InputDtoContent;
|
||||||
}
|
}
|
||||||
|
else if (dbFieldInfo.HtmlType == GenConstants.HTML_DATETIME)
|
||||||
|
{
|
||||||
|
return InputDtoContent;
|
||||||
|
}
|
||||||
else if (dbFieldInfo.IsInsert || dbFieldInfo.IsEdit || dbFieldInfo.IsPk || dbFieldInfo.IsIncrement)
|
else if (dbFieldInfo.IsInsert || dbFieldInfo.IsEdit || dbFieldInfo.IsPk || dbFieldInfo.IsIncrement)
|
||||||
{
|
{
|
||||||
InputDtoContent += $" public {dbFieldInfo.CsharpType}{GetModelRequired(dbFieldInfo)} {dbFieldInfo.CsharpField} {{ get; set; }}\r\n";
|
InputDtoContent += $" public {dbFieldInfo.CsharpType}{GetModelRequired(dbFieldInfo)} {dbFieldInfo.CsharpField} {{ get; set; }}\r\n";
|
||||||
|
|||||||
@ -62,6 +62,7 @@
|
|||||||
<li>Quartz.Net</li>
|
<li>Quartz.Net</li>
|
||||||
<li>MySql</li>
|
<li>MySql</li>
|
||||||
<li>Mapster</li>
|
<li>Mapster</li>
|
||||||
|
<li>Epplus</li>
|
||||||
<li>...</li>
|
<li>...</li>
|
||||||
</ul>
|
</ul>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -98,7 +99,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<span class="tip">如果觉得有用你可以请作者喝杯咖啡☕表示鼓励</span>
|
<span class="tip">如果觉得有用你可以请作者喝杯咖啡☕表示鼓励</span>
|
||||||
<img src="http://ss.izhaorui.cn/pay.jpg" alt="donate" width="80%" />
|
<img src="@/assets/image/reward.jpg" alt="donate" width="80%" />
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user