Browse Source

some changes

master
qdjjx 3 years ago
parent
commit
6fb23213a3
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      培训/总部运营后台后端处理.md

+ 12
- 0
培训/总部运营后台后端处理.md View File

94
 services.AddScoped<IElectricFeeRepository, ElectricFeeRepository>();
94
 services.AddScoped<IElectricFeeRepository, ElectricFeeRepository>();
95
 ```
95
 ```
96
 
96
 
97
+逻辑删除调用哪个方法?在`Mac`, `Breaker`, `BreakerData`领域实体中都定义了`LogicDel`方法。当`IsLogicDel=1`表示逻辑删除,当`IsLogicDel=0`表示正常显示。
98
+
99
+```
100
+/// <summary>
101
+/// 逻辑删除
102
+/// </summary>
103
+public void LogicDel()
104
+{
105
+	IsLogicDel = CommonConstants.LogicDelYes;
106
+}
107
+```
108
+
97
 
109
 
98
 
110
 
99
 
111
 

Loading…
Cancel
Save