diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/ArinvoicesEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/ArinvoicesEntity.java index ae41460b..9a648e5f 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/ArinvoicesEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/ArinvoicesEntity.java @@ -1,9 +1,7 @@ package jnpf.arinvoices.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -31,40 +29,41 @@ public class ArinvoicesEntity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("DOCUMENT_NO") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/Arinvoices_item0Entity.java b/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/Arinvoices_item0Entity.java index be7f51bd..73a7799a 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/Arinvoices_item0Entity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/Arinvoices_item0Entity.java @@ -2,9 +2,7 @@ package jnpf.arinvoices.entity; import cn.afterturn.easypoi.excel.annotation.Excel; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -30,40 +28,41 @@ public class Arinvoices_item0Entity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @Excel(name = "发票代码") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/Arinvoices_item1Entity.java b/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/Arinvoices_item1Entity.java index 5cfe5c00..12ff3d27 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/Arinvoices_item1Entity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/arinvoices/entity/Arinvoices_item1Entity.java @@ -1,9 +1,7 @@ package jnpf.arinvoices.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -30,40 +28,41 @@ public class Arinvoices_item1Entity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("ARINVOICES_ID") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/collection/controller/CollectionController.java b/SC-boot/linkage-scm/src/main/java/jnpf/collection/controller/CollectionController.java index 6113e72c..5663a731 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/collection/controller/CollectionController.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/collection/controller/CollectionController.java @@ -223,7 +223,7 @@ public class CollectionController { return ActionResult.fail("请输入收款金额"); } if (collectionItem0Entity.getSalesorderId() != null){ - SaleorderitemEntity saleorderitemEntity = saleorderitemService.getInfo(collectionCrForm.getCollection_item0List().get(0).getSalesorderId()); + SaleorderitemEntity saleorderitemEntity = saleorderitemService.getInfo(collectionItem0Entity.getSalesorderId()); if (saleorderitemEntity.getAmountCollected() == null){ saleorderitemEntity.setAmountCollected(new BigDecimal("0")); } @@ -515,13 +515,35 @@ public class CollectionController { List Collection_item0List = JsonUtil.getJsonToList(collectionUpForm.getCollection_item0List(),Collection_item0Entity.class); for(Collection_item0Entity entitys : Collection_item0List){ - + if (entitys.getAmount() == null ){ + return ActionResult.fail("请输入收款金额"); + } + if (entitys.getSalesorderId() != null){ + SaleorderitemEntity saleorderitemEntity = saleorderitemService.getInfo(entitys.getSalesorderId()); + if (saleorderitemEntity.getAmountCollected() == null){ + saleorderitemEntity.setAmountCollected(new BigDecimal("0")); + } + if (saleorderitemEntity.getPrice() == null){ + saleorderitemEntity.setPrice(new BigDecimal("0")); + } + BigDecimal notAmount = new BigDecimal("0"); + notAmount = saleorderitemEntity.getPrice().subtract(saleorderitemEntity.getAmountCollected()); + if (entitys.getAmount().compareTo(notAmount) == 1){ + return ActionResult.fail("收款金额不能大于订单金额-已收款金额"); + } + if (saleorderitemEntity.getAmountCollected().equals(saleorderitemEntity.getPrice()) || + saleorderitemEntity.getAmountCollected().compareTo(saleorderitemEntity.getPrice()) == 1){ + return ActionResult.fail("已回完款,无需回款"); + } + }else { + return ActionResult.fail("销售订单不存在"); + } entitys.setId(RandomUtil.uuId()); entitys.setCollectionId(entity.getId()); collection_item0Service.save(entitys); + return ActionResult.success("更新成功"); } - - return ActionResult.success("更新成功"); + return ActionResult.fail("请填写收款明细"); }else{ return ActionResult.fail("更新失败,数据不存在"); } diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/collection/entity/CollectionEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/collection/entity/CollectionEntity.java index 34efc4bc..d3312700 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/collection/entity/CollectionEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/collection/entity/CollectionEntity.java @@ -1,10 +1,7 @@ package jnpf.collection.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableLogic; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -27,10 +24,41 @@ public class CollectionEntity { @TableId("ID") private String id; - @TableField("ORGNIZE_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) + private String creatorUserId; + + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) + private String creatorUserName; + + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) + private Date creatorTime; + + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) + private String lastModifyUserId; + + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) + private String lastModifyUserName; + + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) + private Date lastModifyTime; + + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) + private String deleteUserId; + + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) + private String deleteUserName; + + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) + private Date deleteTime; + + @TableField("DELETE_MARK") + @TableLogic + private String deleteMark; + + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("DOCUMENT_NO") @@ -81,37 +109,6 @@ public class CollectionEntity { @TableField("COLLECTION_BANK") private String collectionBank; - @TableField("CREATOR_USER_ID") - private String creatorUserId; - - @TableField("CREATOR_USER_NAME") - private String creatorUserName; - - @TableField("CREATOR_TIME") - private Date creatorTime; - - @TableField("LAST_MODIFY_USER_ID") - private String lastModifyUserId; - - @TableField("LAST_MODIFY_USER_NAME") - private String lastModifyUserName; - - @TableField("LAST_MODIFY_TIME") - private Date lastModifyTime; - - @TableField("DELETE_USER_ID") - private String deleteUserId; - - @TableField("DELETE_USER_NAME") - private String deleteUserName; - - @TableField("DELETE_TIME") - private Date deleteTime; - - @TableField("DELETE_MARK") - @TableLogic - private String deleteMark; - @TableField("CUSTOMER_ID") private String customerId; diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/collection/entity/Collection_item0Entity.java b/SC-boot/linkage-scm/src/main/java/jnpf/collection/entity/Collection_item0Entity.java index eca259d6..f4ce666e 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/collection/entity/Collection_item0Entity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/collection/entity/Collection_item0Entity.java @@ -1,10 +1,7 @@ package jnpf.collection.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableLogic; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -27,41 +24,41 @@ public class Collection_item0Entity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("COLLECTION_ID") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/receiptout/entity/ReceiptoutEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/receiptout/entity/ReceiptoutEntity.java index 30937a96..59216ca7 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/receiptout/entity/ReceiptoutEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/receiptout/entity/ReceiptoutEntity.java @@ -1,10 +1,7 @@ package jnpf.receiptout.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableLogic; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -28,41 +25,41 @@ public class ReceiptoutEntity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("DOCUMENT_NO") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/receiptout/entity/Receiptout_item0Entity.java b/SC-boot/linkage-scm/src/main/java/jnpf/receiptout/entity/Receiptout_item0Entity.java index dc946297..2036d94e 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/receiptout/entity/Receiptout_item0Entity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/receiptout/entity/Receiptout_item0Entity.java @@ -1,10 +1,7 @@ package jnpf.receiptout.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableLogic; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -30,41 +27,41 @@ public class Receiptout_item0Entity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("RECEIPTIN_ID") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/saleback/entity/SalebackEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/saleback/entity/SalebackEntity.java index 2a797dfd..4e51f694 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/saleback/entity/SalebackEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/saleback/entity/SalebackEntity.java @@ -1,9 +1,7 @@ package jnpf.saleback.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -27,40 +25,41 @@ public class SalebackEntity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("DOCUMENT_NO") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/saleback/entity/Saleback_item0Entity.java b/SC-boot/linkage-scm/src/main/java/jnpf/saleback/entity/Saleback_item0Entity.java index b3c9879e..c3c9b352 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/saleback/entity/Saleback_item0Entity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/saleback/entity/Saleback_item0Entity.java @@ -1,10 +1,7 @@ package jnpf.saleback.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableLogic; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; @@ -31,41 +28,41 @@ public class Saleback_item0Entity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") @TableLogic - private String deletemark; + private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("POUNDLIST_ID") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/Arinvoices_item0soitemEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/Arinvoices_item0soitemEntity.java index 1f8898cd..4c5760bf 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/Arinvoices_item0soitemEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/Arinvoices_item0soitemEntity.java @@ -1,9 +1,7 @@ package jnpf.saleorder.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -29,40 +27,41 @@ public class Arinvoices_item0soitemEntity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("INVOICE_CODE") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/CollectionsoitemEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/CollectionsoitemEntity.java index 4bc75888..d779a570 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/CollectionsoitemEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/CollectionsoitemEntity.java @@ -1,9 +1,7 @@ package jnpf.saleorder.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -26,10 +24,10 @@ public class CollectionsoitemEntity { @TableId("ID") private String id; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("DOCUMENT_NO") @@ -80,34 +78,35 @@ public class CollectionsoitemEntity { @TableField("COLLECTION_BANK") private String collectionBank; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; @TableField("CUSTOMER_ID") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/PaymentsoitemEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/PaymentsoitemEntity.java index 757262ae..ffc521f0 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/PaymentsoitemEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/PaymentsoitemEntity.java @@ -1,9 +1,7 @@ package jnpf.saleorder.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -27,40 +25,41 @@ public class PaymentsoitemEntity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("DOCUMENTNO") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/ReceiptoutsoitemEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/ReceiptoutsoitemEntity.java index 78c9187c..25c6625a 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/ReceiptoutsoitemEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/ReceiptoutsoitemEntity.java @@ -1,9 +1,7 @@ package jnpf.saleorder.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -27,40 +25,41 @@ public class ReceiptoutsoitemEntity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("DOCUMENT_NO") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/SaleorderitemEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/SaleorderitemEntity.java index 3c271575..176c311d 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/SaleorderitemEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/SaleorderitemEntity.java @@ -1,9 +1,7 @@ package jnpf.saleorder.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import jnpf.poundlist.entity.PoundlistEntity; import lombok.Data; @@ -39,40 +37,41 @@ public class SaleorderitemEntity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("DOCUMENT_NO") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/SalesbacksoitemEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/SalesbacksoitemEntity.java index 519179f4..32a06266 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/SalesbacksoitemEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/SalesbacksoitemEntity.java @@ -1,9 +1,7 @@ package jnpf.saleorder.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -27,40 +25,41 @@ public class SalesbacksoitemEntity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("DOCUMENT_NO") diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/Salesorder_item0Entity.java b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/Salesorder_item0Entity.java index 0aab90b1..c75f5c8f 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/Salesorder_item0Entity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/entity/Salesorder_item0Entity.java @@ -1,9 +1,7 @@ package jnpf.saleorder.entity; import com.alibaba.fastjson.annotation.JSONField; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import jnpf.poundlist.entity.PoundlistEntity; import lombok.Data; @@ -33,40 +31,41 @@ public class Salesorder_item0Entity { @TableId("ID") private String id; - @TableField("CREATOR_USER_ID") + @TableField(value = "CREATOR_USER_ID",fill = FieldFill.INSERT) private String creatorUserId; - @TableField("CREATOR_USER_NAME") + @TableField(value = "CREATOR_USER_NAME",fill = FieldFill.INSERT) private String creatorUserName; - @TableField("CREATOR_TIME") + @TableField(value = "CREATOR_TIME",fill = FieldFill.INSERT) private Date creatorTime; - @TableField("LAST_MODIFY_USER_ID") + @TableField(value = "LAST_MODIFY_USER_ID",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserId; - @TableField("LAST_MODIFY_USER_NAME") + @TableField(value = "LAST_MODIFY_USER_NAME",fill = FieldFill.INSERT_UPDATE) private String lastModifyUserName; - @TableField("LAST_MODIFY_TIME") + @TableField(value = "LAST_MODIFY_TIME",fill = FieldFill.INSERT_UPDATE) private Date lastModifyTime; - @TableField("DELETE_USER_ID") + @TableField(value = "DELETE_USER_ID",fill = FieldFill.UPDATE) private String deleteUserId; - @TableField("DELETE_USER_NAME") + @TableField(value = "DELETE_USER_NAME",fill = FieldFill.UPDATE) private String deleteUserName; - @TableField("DELETE_TIME") + @TableField(value = "DELETE_TIME",fill = FieldFill.UPDATE) private Date deleteTime; @TableField("DELETE_MARK") + @TableLogic private String deleteMark; - @TableField("ORGNIZE_ID") + @TableField(value = "ORGNIZE_ID",fill = FieldFill.INSERT) private String orgnizeId; - @TableField("DEPARTMENT_ID") + @TableField(value = "DEPARTMENT_ID",fill = FieldFill.INSERT) private String departmentId; @TableField("SALES_ORDER_ID") diff --git a/SC-boot/linkage-scm/src/main/resources/mapper/arinvoices/ArinvoicesMapper.xml b/SC-boot/linkage-scm/src/main/resources/mapper/arinvoices/ArinvoicesMapper.xml index 33829a02..971d9e15 100644 --- a/SC-boot/linkage-scm/src/main/resources/mapper/arinvoices/ArinvoicesMapper.xml +++ b/SC-boot/linkage-scm/src/main/resources/mapper/arinvoices/ArinvoicesMapper.xml @@ -14,6 +14,7 @@ LEFT JOIN jg_contract c ON a.contract_id = c.id LEFT JOIN jg_salesorder d ON a.sales_order_id = d.id WHERE 1=1 + and a.delete_mark = '0' and a.document_no LIKE CONCAT('%',#{arinvoicesPagination.documentNo},'%') diff --git a/SC-boot/linkage-scm/src/main/resources/mapper/collection/CollectionMapper.xml b/SC-boot/linkage-scm/src/main/resources/mapper/collection/CollectionMapper.xml index 65901a20..1a9fdc7d 100644 --- a/SC-boot/linkage-scm/src/main/resources/mapper/collection/CollectionMapper.xml +++ b/SC-boot/linkage-scm/src/main/resources/mapper/collection/CollectionMapper.xml @@ -5,6 +5,7 @@ diff --git a/SC-web/src/utils/jnpf.js b/SC-web/src/utils/jnpf.js index 691c52d5..d9412f81 100644 --- a/SC-web/src/utils/jnpf.js +++ b/SC-web/src/utils/jnpf.js @@ -447,7 +447,7 @@ const jnpf = { try { f = b.toString().split(".")[1].length; } catch (g) {} - return c = Number(a.toString().replace(".", "")), d = Number(b.toString().replace(".", "")), floatMul(c / d, Math.pow(10, f - e)); + return c = Number(a.toString().replace(".", "")), d = Number(b.toString().replace(".", "")), this.floatMul(c / d, Math.pow(10, f - e)); }, } -export default jnpf \ No newline at end of file +export default jnpf diff --git a/SC-web/src/views/dashboard/admin/components/LineChartA.vue b/SC-web/src/views/dashboard/admin/components/LineChartA.vue index 1c52249e..d85bf6f8 100644 --- a/SC-web/src/views/dashboard/admin/components/LineChartA.vue +++ b/SC-web/src/views/dashboard/admin/components/LineChartA.vue @@ -1,5 +1,12 @@ + + diff --git a/SC-web/src/views/dashboard/admin/components/LineChartB.vue b/SC-web/src/views/dashboard/admin/components/LineChartB.vue index c546535e..eb6ab1ed 100644 --- a/SC-web/src/views/dashboard/admin/components/LineChartB.vue +++ b/SC-web/src/views/dashboard/admin/components/LineChartB.vue @@ -1,5 +1,11 @@ + + diff --git a/SC-web/src/views/dashboard/admin/index.vue b/SC-web/src/views/dashboard/admin/index.vue index c93b8c84..e13e4543 100644 --- a/SC-web/src/views/dashboard/admin/index.vue +++ b/SC-web/src/views/dashboard/admin/index.vue @@ -42,48 +42,14 @@ - - -
- - -
- -
+
- -
- - -
- -
+
- -
diff --git a/SC-web/src/views/scm/basicInformation/arinvoices/Form.vue b/SC-web/src/views/scm/basicInformation/arinvoices/Form.vue index 68672425..d1385a30 100644 --- a/SC-web/src/views/scm/basicInformation/arinvoices/Form.vue +++ b/SC-web/src/views/scm/basicInformation/arinvoices/Form.vue @@ -366,18 +366,16 @@ mounted() {}, methods: { invoiceQuantitySum(){ - debugger let sum = 0; for (let i =0;i { const value = Number(curr); if (!isNaN(value)) { - return prev + curr; + return this.jnpf.floatAdd(prev, curr); } else { return prev; } @@ -442,7 +440,7 @@ sums[index] = values.reduce((prev, curr) => { const value = Number(curr); if (!isNaN(value)) { - return prev + curr; + return this.jnpf.floatAdd(prev, curr); } else { return prev; } diff --git a/SC-web/src/views/scm/basicInformation/collection/Form.vue b/SC-web/src/views/scm/basicInformation/collection/Form.vue index 91ead5c8..e0b7a645 100644 --- a/SC-web/src/views/scm/basicInformation/collection/Form.vue +++ b/SC-web/src/views/scm/basicInformation/collection/Form.vue @@ -435,7 +435,7 @@ sums[index] = values.reduce((prev, curr) => { const value = Number(curr); if (!isNaN(value)) { - return prev + curr; + return this.jnpf.floatAdd(prev, curr); } else { return prev; } @@ -449,7 +449,7 @@ amountSum(){ let sum = 0; for (let i = 0; i