Commit 52150825 by yyq1988

Merge remote-tracking branch 'origin/master'

parents 05c09d1d 7a0c2c7c
......@@ -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