|
|
@ -192,6 +192,10 @@ public class BaseOutsourcingApplicationService extends MybatisBaseService<BaseOu |
|
|
|
String sid = dto.getSid(); |
|
|
|
BigDecimal guidedPrice = dto.getGuidedPrice(); |
|
|
|
BigDecimal purchasePrice = dto.getPurchasePrice(); |
|
|
|
Integer num = dto.getNum(); |
|
|
|
if (num < 1){ |
|
|
|
return rb.setMsg("台数不能少于1台"); |
|
|
|
} |
|
|
|
if (guidedPrice == null) { |
|
|
|
return rb.setMsg("销售指导价不能为空"); |
|
|
|
} |
|
|
|