Showing
6 changed files
with
25 additions
and
0 deletions
| ... | ... | @@ -1709,6 +1709,7 @@ CREATE TABLE `procurement_salesman_quotation` |
| 1709 | 1709 | `coordination_reason` varchar(200) NOT NULL COMMENT '协调事由', |
| 1710 | 1710 | `invoice_type_status` varchar(50) NOT NULL COMMENT '票类状况', |
| 1711 | 1711 | `total_quantity` decimal(18, 5) NOT NULL COMMENT '数量合计', |
| 1712 | + `remark` varchar(1000) DEFAULT NULL COMMENT '备注', | |
| 1712 | 1713 | `material_condition_enabled` bool NOT NULL COMMENT '是否启用料质状况', |
| 1713 | 1714 | `material_condition_copper_rice` varchar(500) DEFAULT NULL COMMENT '铜米', |
| 1714 | 1715 | `material_condition_bright_copper` varchar(500) DEFAULT NULL COMMENT '光亮铜', | ... | ... |
| ... | ... | @@ -374,6 +374,7 @@ public class SalesmanQuotationServiceImpl |
| 374 | 374 | data.setMaterialConditionWhiteYellow(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionWhiteYellow())); |
| 375 | 375 | data.setMaterialConditionPhosphorCopper(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionPhosphorCopper())); |
| 376 | 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 | 418 | data.setMaterialConditionWhiteYellow(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionWhiteYellow())); |
| 418 | 419 | data.setMaterialConditionPhosphorCopper(normalizeMaterialText(vo.getMaterialConditionEnabled(), vo.getMaterialConditionPhosphorCopper())); |
| 419 | 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 | 236 | @ApiModelProperty("状态") |
| 237 | 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 | 235 | @ApiModelProperty("状态") |
| 236 | 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 | 45 | <result column="total_quantity" property="totalQuantity"/> |
| 46 | 46 | <result column="approval_status" property="approvalStatus"/> |
| 47 | 47 | <result column="status" property="status"/> |
| 48 | + <result column="remark" property="remark"/> | |
| 48 | 49 | <result column="create_by_id" property="createById"/> |
| 49 | 50 | <result column="create_by" property="createBy"/> |
| 50 | 51 | <result column="update_by_id" property="updateById"/> |
| ... | ... | @@ -95,6 +96,7 @@ |
| 95 | 96 | tb.material_condition_white_yellow, |
| 96 | 97 | tb.material_condition_phosphor_copper, |
| 97 | 98 | tb.total_quantity, |
| 99 | + tb.remark, | |
| 98 | 100 | tb.approval_status, |
| 99 | 101 | tb.status, |
| 100 | 102 | tb.create_by_id, | ... | ... |