update 无法打包
This commit is contained in:
+4
-4
@@ -41,7 +41,7 @@ public class LawsEnterpriseStandardTest {
|
||||
public static LawsEnterpriseStandard generateRandomEnterpriseStandard() {
|
||||
LawsEnterpriseStandard lawsEnterpriseStandard = new LawsEnterpriseStandard();
|
||||
|
||||
lawsEnterpriseStandard.setDelFlag(faker.bool().bool() ? 1 : 0);
|
||||
//lawsEnterpriseStandard.setDelFlag(faker.bool().bool() ? 1 : 0);
|
||||
lawsEnterpriseStandard.setStandardCode(faker.code().ean13());
|
||||
lawsEnterpriseStandard.setNameCode(faker.code().asin());
|
||||
lawsEnterpriseStandard.setCategoryCode(faker.commerce().department());
|
||||
@@ -49,7 +49,7 @@ public class LawsEnterpriseStandardTest {
|
||||
lawsEnterpriseStandard.setStandardCategory(faker.commerce().department());
|
||||
lawsEnterpriseStandard.setGradeClassification(faker.book().genre());
|
||||
lawsEnterpriseStandard.setCompIllustration(faker.lorem().sentence());
|
||||
lawsEnterpriseStandard.setTryFlag(faker.bool().bool() ? 1 : 0);
|
||||
//lawsEnterpriseStandard.setTryFlag(faker.bool().bool() ? 1 : 0);
|
||||
lawsEnterpriseStandard.setTrialPeriod(String.valueOf(faker.number().numberBetween(1, 12)) + " months");
|
||||
lawsEnterpriseStandard.setMainDraftingUser(faker.name().fullName());
|
||||
lawsEnterpriseStandard.setMainDraftingUnit(faker.company().name());
|
||||
@@ -64,7 +64,7 @@ public class LawsEnterpriseStandardTest {
|
||||
lawsEnterpriseStandard.setEnglishName(faker.commerce().productName());
|
||||
lawsEnterpriseStandard.setReleaseDate(faker.date().past(1, TimeUnit.SECONDS));
|
||||
lawsEnterpriseStandard.setImplementationDate(faker.date().past(1, TimeUnit.SECONDS));
|
||||
lawsEnterpriseStandard.setStandardState(faker.random().nextInt(5) + "");
|
||||
//lawsEnterpriseStandard.setStandardState(faker.random().nextInt(5));
|
||||
|
||||
return lawsEnterpriseStandard;
|
||||
}
|
||||
@@ -72,7 +72,7 @@ public class LawsEnterpriseStandardTest {
|
||||
public static EnterpriseStandardPlan generateRandomEnterpriseStandardPlan() {
|
||||
EnterpriseStandardPlan enterpriseStandardPlan = new EnterpriseStandardPlan();
|
||||
|
||||
enterpriseStandardPlan.setDelFlag(faker.bool().bool() ? 1 : 0);
|
||||
//enterpriseStandardPlan.setDelFlag(faker.bool().bool() ? 1 : 0);
|
||||
enterpriseStandardPlan.setMainDraftingUser(faker.name().fullName());
|
||||
enterpriseStandardPlan.setMainDraftingUnit(faker.company().name());
|
||||
enterpriseStandardPlan.setMainDraftingUnitResponsiblePerson(faker.name().fullName());
|
||||
|
||||
Reference in New Issue
Block a user