禅道bug修改提交

This commit is contained in:
liang.chao 2024-07-05 18:12:13 +08:00
parent 3fc43574dc
commit ca683c727d
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ public class BackReceiveController extends BaseController {
public AjaxResult getReceiveViewWebNum(@RequestBody BackApplyInfo record) {
List<BackApplyInfo> list = backReceiveService.receiveView(record);
for (BackApplyInfo backApplyInfo : list) {
if (Integer.valueOf(backApplyInfo.getNum()) > 0) {
if (Double.valueOf(backApplyInfo.getNum()).intValue() > 0) {
return AjaxResult.success(0);
}
}

View File

@ -221,7 +221,7 @@ export function getRecord(query) {
// 退料完成之前 判断所有设备是否全部操作退料
export function endBackBeforeQueryApi(data) {
return request({
url: 'backReceive/getReceiveViewWebNum',
url: 'base/backReceive/getReceiveViewWebNum',
method: 'post',
data
})