二维码下载
This commit is contained in:
parent
db2b4b9e3e
commit
c29c23c38c
|
|
@ -306,7 +306,7 @@ public class PurchaseBindServiceImpl implements IPurchaseBindService {
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
private void getString(Set<String> addedEntries, PurchaseDto purchaseDto, String genMonth, int num, ZipOutputStream zos, String materialModel, String materialName, Integer typeId, BigDecimal checkNum) throws WriterException, IOException {
|
private void getString(Set<String> addedEntries, PurchaseDto purchaseDto, String genMonth, int num, ZipOutputStream zos, String materialModel, String materialName, Integer typeId, BigDecimal checkNum) throws WriterException, IOException {
|
||||||
int genNum = Integer.parseInt(String.valueOf(checkNum));
|
int genNum = (int) checkNum.doubleValue();
|
||||||
for (int j = 1; j <= genNum; j++) {
|
for (int j = 1; j <= genNum; j++) {
|
||||||
genMonth = genMonth.replace("-", "");
|
genMonth = genMonth.replace("-", "");
|
||||||
String code = genMonth + "-" + String.format("%5d", num + j).replace(" ", "0");
|
String code = genMonth + "-" + String.format("%5d", num + j).replace(" ", "0");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue