充电机功率

master
CZ 5 months ago
parent df681e0f7c
commit 083bfca885

@ -104,7 +104,8 @@ public class BinInfoController : ControllerBase
[HttpGet("ChargePower/{code}")]
public Result<float> ChargePower(string code)
{
EquipInfo equipInfo = _equipInfoRepository.QueryByClause(i => i.Code == code);
string _code = _BinInfoRepository.QueryByClause(i => i.Code == code).ChargerNo;
EquipInfo equipInfo = _equipInfoRepository.QueryByClause(i => i.Code == _code);
float? chargePower = equipInfo.ChargePower;
if (chargePower == null)

Loading…
Cancel
Save