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