Skip to content

Commit

Permalink
pmt37: prefix card number with c character for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
lugipfupf committed Feb 6, 2017
1 parent 27e5456 commit e0cb1bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public Populator<ArrayList<HashMap<String, String>>> getPopulator() {
data.forEach((HashMap<String, String> record) -> {
CustomerInfoExt cust = new CustomerInfoExt(null);

String card = this.config.get("card").equals("GENERATE") ? StringUtils.getCardNumber() : record.get(this.config.get("card"));
String card = this.config.get("card").equals("GENERATE") ? "c" + StringUtils.getCardNumber() : record.get(this.config.get("card"));

cust.setCard(card);
cust.setSearchkey(card);
Expand Down

0 comments on commit e0cb1bb

Please sign in to comment.