|
@@ -11,6 +11,7 @@ import com.slibra.business.res.WorkOrderRes;
|
|
|
import com.slibra.business.service.IFrontService;
|
|
|
import com.slibra.common.DecimalUtils;
|
|
|
import com.slibra.common.config.BigModelConfig;
|
|
|
+import com.slibra.common.constant.MyConstants;
|
|
|
import com.slibra.common.core.controller.BaseController;
|
|
|
import com.slibra.common.enums.BusinessEnum;
|
|
|
import com.slibra.common.exception.ServiceException;
|
|
@@ -432,7 +433,7 @@ public class GRPCController extends BaseController {
|
|
|
TXinyiDaily daily = this.xinyiDailyMapper.selectNewestData();
|
|
|
for (DecisionReq decisionReq : decisionReqs) {
|
|
|
if(!Objects.isNull(daily)){
|
|
|
- decisionReq.setT(daily.getJsSw());
|
|
|
+ decisionReq.setT(DecimalUtils.getAbsAndScale(daily.getJsSw(), MyConstants.INT_0));
|
|
|
decisionReq.setSVI(daily.getWntjzsAll());
|
|
|
decisionReq.setSV(daily.getWncjbAll());
|
|
|
decisionReq.setMlvss(daily.getHfxwnndAll());
|
|
@@ -458,6 +459,7 @@ public class GRPCController extends BaseController {
|
|
|
//2024年6月1日08:37:09 内回流加上
|
|
|
decisionReq.setR(daily.getNhlR());
|
|
|
decisionReq.setRR(daily.getWhlR());
|
|
|
+ //todo 字符串的调用getAbsAndScaleStr()
|
|
|
}
|
|
|
}
|
|
|
}
|