1,打印格式

2,返回参数
master
e 2019-09-11 21:19:05 +08:00
parent 87df2fb856
commit 5a66aeef5f
3 changed files with 6 additions and 4 deletions

View File

@ -170,7 +170,9 @@ public class WmOmNoticeHServiceImpl extends CommonServiceImpl implements WmOmNot
for(WmOmNoticeIEntity wmOmNoticeI:wmOmNoticeIList){
if(oConvertUtils.isEmpty(wmOmNoticeI.getId())){
//外键设置
MvGoodsEntity mvgoods = new MvGoodsEntity();
// MvGoodsEntity mvgoods = new MvGoodsEntity();
MvGoodsEntity mvgoods = this.findUniqueByProperty(MvGoodsEntity.class,"goodsName",wmOmNoticeI.getGoodsId());
mvgoods = this.findUniqueByProperty(MvGoodsEntity.class, "goodsCode", wmOmNoticeI.getGoodsId()) ;
wmOmNoticeI.setGoodsUnit(mvgoods.getShlDanWei());
wmOmNoticeI.setBaseUnit(mvgoods.getBaseunit());

View File

@ -90,9 +90,9 @@ public class SimpleJdbcTemplate {
Assert.hasText(sql,"sql语句不正确!");
if(parameters!=null){
return namedJdbcTemplate.queryForObject(sql, parameters,Long.class);
return (long)namedJdbcTemplate.queryForObject(sql, parameters,Long.class);
}else{
return jdbcTemplate.queryForObject(sql,Long.class);
return (long)jdbcTemplate.queryForObject(sql,Long.class);
}
}catch (Exception e) {

View File

@ -183,7 +183,7 @@ function downloadqrcode() {
</tr>
<tr height=40 style='mso-height-source:userset;height:30.0pt'>
<td colspan=5 height=40 class=xl68 width=242 style='height:30.0pt;width:182pt'>货主:${cusname}</td>
<td colspan=4 height=40 class=xl68 width=242 style='height:30.0pt;width:182pt'>客户:${ocusname}</td>
<td colspan=4 height=40 class=xl68 width=242 style='height:30.0pt;width:182pt'>客户:${wmOmNoticeHPage.delvMember}${wmOmNoticeHPage.delvMobile}</td>
<td></td>
</tr>
<tr height=40 style='mso-height-source:userset;height:30.0pt'>