Commit 7a0c2c7c by zhanglt

盘盈入库修改接口bug修复

parent a4aa24b7
......@@ -8,6 +8,7 @@ import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import com.jeeplus.common.config.Global;
import com.jeeplus.common.utils.io.FileUtil;
......@@ -166,7 +167,13 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe
}else{
profitWarehousingInfo.preUpdate();
profitWarehousingInfoMapper.update(profitWarehousingInfo);
cleanQr(profitWarehousingInfo.getId()); }
if(profitWarehousingInfo.getQrCode()!=null){
//已入库的不修改
if(!Objects.equals(profitWarehousingInfo.getQrCode().getState(), "3")){
cleanQr(profitWarehousingInfo.getId());
}
}
}
}else{
profitWarehousingInfoMapper.delete(profitWarehousingInfo);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment