Commit 83ef1b9243e836eb3de8d3aab2ba41176f5822a0

Authored by 房远帅
1 parent b135926c

采购:业务员报价-添加备注

@@ -1709,6 +1709,7 @@ CREATE TABLE `procurement_salesman_quotation` @@ -1709,6 +1709,7 @@ CREATE TABLE `procurement_salesman_quotation`
1709 `coordination_reason` varchar(200) NOT NULL COMMENT '协调事由', 1709 `coordination_reason` varchar(200) NOT NULL COMMENT '协调事由',
1710 `invoice_type_status` varchar(50) NOT NULL COMMENT '票类状况', 1710 `invoice_type_status` varchar(50) NOT NULL COMMENT '票类状况',
1711 `total_quantity` decimal(18, 5) NOT NULL COMMENT '数量合计', 1711 `total_quantity` decimal(18, 5) NOT NULL COMMENT '数量合计',
  1712 + `remark` varchar(1000) DEFAULT NULL COMMENT '备注',
1712 `material_condition_enabled` bool NOT NULL COMMENT '是否启用料质状况', 1713 `material_condition_enabled` bool NOT NULL COMMENT '是否启用料质状况',
1713 `material_condition_copper_rice` varchar(500) DEFAULT NULL COMMENT '铜米', 1714 `material_condition_copper_rice` varchar(500) DEFAULT NULL COMMENT '铜米',
1714 `material_condition_bright_copper` varchar(500) DEFAULT NULL COMMENT '光亮铜', 1715 `material_condition_bright_copper` varchar(500) DEFAULT NULL COMMENT '光亮铜',
@@ -227,6 +227,11 @@ public class SalesmanQuotation extends BaseEntity implements BaseDto { @@ -227,6 +227,11 @@ public class SalesmanQuotation extends BaseEntity implements BaseDto {
227 private BigDecimal totalQuantity; 227 private BigDecimal totalQuantity;
228 228
229 /** 229 /**
  230 + * 备注
  231 + */
  232 + private String remark;
  233 +
  234 + /**
230 * 审核状态 235 * 审核状态
231 */ 236 */
232 private String approvalStatus; 237 private String approvalStatus;
@@ -374,6 +374,7 @@ public class SalesmanQuotationServiceImpl @@ -374,6 +374,7 @@ public class SalesmanQuotationServiceImpl
374 data.setMaterialConditionWhiteYellow(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionWhiteYellow())); 374 data.setMaterialConditionWhiteYellow(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionWhiteYellow()));
375 data.setMaterialConditionPhosphorCopper(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionPhosphorCopper())); 375 data.setMaterialConditionPhosphorCopper(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionPhosphorCopper()));
376 data.setTotalQuantity(calculateTotalQuantity(vo.getQuotationLineList())); 376 data.setTotalQuantity(calculateTotalQuantity(vo.getQuotationLineList()));
  377 + data.setRemark(vo.getRemark());
377 } 378 }
378 379
379 /** 380 /**
@@ -417,6 +418,7 @@ public class SalesmanQuotationServiceImpl @@ -417,6 +418,7 @@ public class SalesmanQuotationServiceImpl
417 data.setMaterialConditionWhiteYellow(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionWhiteYellow())); 418 data.setMaterialConditionWhiteYellow(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionWhiteYellow()));
418 data.setMaterialConditionPhosphorCopper(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionPhosphorCopper())); 419 data.setMaterialConditionPhosphorCopper(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionPhosphorCopper()));
419 data.setTotalQuantity(calculateTotalQuantity(vo.getQuotationLineList())); 420 data.setTotalQuantity(calculateTotalQuantity(vo.getQuotationLineList()));
  421 + data.setRemark(vo.getRemark());
420 } 422 }
421 423
422 /** 424 /**
@@ -236,4 +236,12 @@ public class CreateSalesmanQuotationVo implements BaseVo, Serializable { @@ -236,4 +236,12 @@ public class CreateSalesmanQuotationVo implements BaseVo, Serializable {
236 @ApiModelProperty("状态") 236 @ApiModelProperty("状态")
237 private String status; 237 private String status;
238 238
  239 + /**
  240 + * 备注
  241 + */
  242 + @ApiModelProperty("备注")
  243 + @Length(max = 1000, message = "备注内容最多允许1000个字符!")
  244 + private String remark;
  245 +
  246 +
239 } 247 }
@@ -235,4 +235,11 @@ public class UpdateSalesmanQuotationVo implements BaseVo, Serializable { @@ -235,4 +235,11 @@ public class UpdateSalesmanQuotationVo implements BaseVo, Serializable {
235 @ApiModelProperty("状态") 235 @ApiModelProperty("状态")
236 private String status; 236 private String status;
237 237
  238 + /**
  239 + * 备注
  240 + */
  241 + @ApiModelProperty("备注")
  242 + @Length(max = 1000, message = "备注内容最多允许1000个字符!")
  243 + private String remark;
  244 +
238 } 245 }
@@ -45,6 +45,7 @@ @@ -45,6 +45,7 @@
45 <result column="total_quantity" property="totalQuantity"/> 45 <result column="total_quantity" property="totalQuantity"/>
46 <result column="approval_status" property="approvalStatus"/> 46 <result column="approval_status" property="approvalStatus"/>
47 <result column="status" property="status"/> 47 <result column="status" property="status"/>
  48 + <result column="remark" property="remark"/>
48 <result column="create_by_id" property="createById"/> 49 <result column="create_by_id" property="createById"/>
49 <result column="create_by" property="createBy"/> 50 <result column="create_by" property="createBy"/>
50 <result column="update_by_id" property="updateById"/> 51 <result column="update_by_id" property="updateById"/>
@@ -95,6 +96,7 @@ @@ -95,6 +96,7 @@
95 tb.material_condition_white_yellow, 96 tb.material_condition_white_yellow,
96 tb.material_condition_phosphor_copper, 97 tb.material_condition_phosphor_copper,
97 tb.total_quantity, 98 tb.total_quantity,
  99 + tb.remark,
98 tb.approval_status, 100 tb.approval_status,
99 tb.status, 101 tb.status,
100 tb.create_by_id, 102 tb.create_by_id,