@@ -162,7 +162,7 @@ public class VendorServiceImpl implements VendorService{
* @return
*/
private List<ErpInviteRecord> getRecord(String name) {
- SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-mm-dd");
+ SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
// 判断是否是当天的单据
String sql = "select * from invitation_tplrecord where ve_name = '" + name +"' and substr(ve_date, 1, 10) = '"
+ simpleDateFormat.format(new Date()) + "'";