monthly_input_status_id 추가
This commit is contained in:
@@ -41,6 +41,7 @@ class CreateForestProductDao implements CreateForestProductPortOut {
|
||||
cmd.getSubYieldUnitCode(),
|
||||
cmd.getSubSaleAmount(),
|
||||
cmd.getSubSaleUnitCode(),
|
||||
cmd.getMonthlyInputStatusId(),
|
||||
cmd.getCreatedAt(),
|
||||
cmd.getCreatedBy(),
|
||||
cmd.getUpdatedAt(),
|
||||
|
||||
@@ -37,6 +37,8 @@ public class CreateForestProductDto {
|
||||
private String subYieldUnitCode;
|
||||
private BigDecimal subSaleAmount;
|
||||
private String subSaleUnitCode;
|
||||
private Long monthlyInputStatusId;
|
||||
|
||||
|
||||
private LocalDateTime createdAt;
|
||||
private String createdBy;
|
||||
|
||||
@@ -36,4 +36,6 @@ public class CreateForestProductCmd extends AuditCommand {
|
||||
private BigDecimal subSaleAmount;
|
||||
private String subSaleUnitCode;
|
||||
|
||||
private Long monthlyInputStatusId;
|
||||
|
||||
}
|
||||
|
||||
@@ -37,6 +37,8 @@ public class GetForestProduct {
|
||||
private BigDecimal subSaleAmount;
|
||||
private String subSaleUnitCode;
|
||||
|
||||
private Long monthlyInputStatusId;
|
||||
|
||||
private LocalDateTime createdAt;
|
||||
private String createdBy;
|
||||
private LocalDateTime updatedAt;
|
||||
|
||||
@@ -53,6 +53,7 @@ class GetForestProductsDao implements GetForestProductsPortOut {
|
||||
article.getSubYieldUnitCode(),
|
||||
article.getSubSaleAmount(),
|
||||
article.getSubSaleUnitCode(),
|
||||
article.getMonthlyInputStatusId(),
|
||||
article.getCreatedAt(),
|
||||
article.getCreatedBy(),
|
||||
article.getUpdatedAt(),
|
||||
|
||||
@@ -36,6 +36,8 @@ public class GetForestProductsDto {
|
||||
private BigDecimal subSaleAmount;
|
||||
private String subSaleUnitCode;
|
||||
|
||||
private Long monthlyInputStatusId;
|
||||
|
||||
private LocalDateTime createdAt;
|
||||
private String createdBy;
|
||||
private LocalDateTime updatedAt;
|
||||
|
||||
@@ -38,6 +38,8 @@ public class GetForestProducts {
|
||||
private BigDecimal subSaleAmount;
|
||||
private String subSaleUnitCode;
|
||||
|
||||
private Long monthlyInputStatusId;
|
||||
|
||||
private LocalDateTime createdAt;
|
||||
private String createdBy;
|
||||
private LocalDateTime updatedAt;
|
||||
|
||||
@@ -38,6 +38,7 @@ class UpdateForestProductDao implements UpdateForestProductPortOut {
|
||||
command.getSubYieldUnitCode(),
|
||||
command.getSubSaleAmount(),
|
||||
command.getSubSaleUnitCode(),
|
||||
command.getMonthlyInputStatusId(),
|
||||
LocalDateTime.now(),
|
||||
CommonUtil.getLoginUsername()
|
||||
));
|
||||
|
||||
@@ -39,6 +39,8 @@ public class UpdateForestProductDto {
|
||||
private BigDecimal subSaleAmount;
|
||||
private String subSaleUnitCode;
|
||||
|
||||
private Long monthlyInputStatusId;
|
||||
|
||||
private LocalDateTime updatedAt;
|
||||
private String updatedBy;
|
||||
}
|
||||
|
||||
@@ -39,4 +39,6 @@ public class UpdateForestProductCmd {
|
||||
private BigDecimal subSaleAmount;
|
||||
private String subSaleUnitCode;
|
||||
|
||||
private Long monthlyInputStatusId;
|
||||
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
sub_yield_unit_code,
|
||||
sub_sale_amount,
|
||||
sub_sale_unit_code,
|
||||
monthly_input_status_id,
|
||||
created_at,
|
||||
created_by,
|
||||
updated_at,
|
||||
@@ -53,6 +54,7 @@
|
||||
#{subYieldUnitCode},
|
||||
#{subSaleAmount},
|
||||
#{subSaleUnitCode},
|
||||
#{monthlyInputStatusId},
|
||||
#{createdAt},
|
||||
#{createdBy},
|
||||
#{createdAt},
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
a.sub_yield_unit_code AS subYieldUnitCode,
|
||||
a.sub_sale_amount AS subSaleAmount,
|
||||
a.sub_sale_unit_code AS subSaleUnitCode,
|
||||
a.monthly_input_status_id AS monthlyInputStatusId,
|
||||
a.created_at AS createdAt,
|
||||
a.created_by AS createdBy,
|
||||
a.updated_at AS updatedAt,
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
a.sub_yield_unit_code AS subYieldUnitCode,
|
||||
a.sub_sale_amount AS subSaleAmount,
|
||||
a.sub_sale_unit_code AS subSaleUnitCode,
|
||||
a.monthly_input_status_id AS monthlyInputStatusId,
|
||||
a.created_at AS createdAt,
|
||||
a.created_by AS createdBy,
|
||||
a.updated_at AS updatedAt,
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
sub_yield_unit_code = #{subYieldUnitCode},
|
||||
sub_sale_amount = #{subSaleAmount},
|
||||
sub_sale_unit_code = #{subSaleUnitCode},
|
||||
monthly_input_status = #{monthlyInputStatusId},
|
||||
<include refid="common.fields.UpdateBaseSet"/>
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
|
||||
Reference in New Issue
Block a user